A TG Developer Gets Ploned

29 Messages Forum Options Options
Permalink
1 2
percious
A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
Hey all,

I am coming over to your side of the proverbial web framework pond as
my current employer is throughly entrenched in Zope/Plone technology.
I thought I would start this thread to express my experience as a
somewhat experienced [only with TG, php and cgi (yikes!)]  framework
developer.  This should evolve to show somewhat of a comparison
between TG and Plone, at the very least.

Ok, so I spent roughly 3 days (20+ hours) getting plone to work
properly in my desired development environment (and it's still not
perfect, but livable).  Now, many of you will say "Why don't you just
download the Unified installer and be done with it"  Aha!  Yeah, well
I did that and it doesn't meet my needs.  See, I am a firm believer
that one should keep up to date with his/her unit tests, and keeping
one directory (site-packages) tidy is much more reasonable than
updating 6 or 7 separate plone/zope applications.  Did I mention I
will be installing more than just one PZ app...?  PZ, TG???
rhymes...weird.

Anyhow.  I'm not going to get into the nitty-gritty on getting Zope to
work, that is mostly here: http://groups.google.com/group/plone-users/t/7d8a730e7fd428f7
.  I will say that it was a major PITA and required me to re-compile
my version of Python.  Now maybe there is no way around this, but I
have never had to do such a thing to get a package working.  I would
think at the very least there would be a fail-safe so that those
packages which require C-optimizations would have associated Python
packages.  I found a nice post about how the Unified Installer does
this, but no direction as to what was wrong with my particular
environment.

Thankfully a member of this board stepped up and pointed me in the
right direction, and Zope was all-but up and running when I finished.
The one thing that was required after that was to install libxml2-
python to get rid of a pesky error after my zinstance was started.
See, I'm getting the lingo!

Ok, and plone isn't even installed.  Let's compare this with TG

install python
download ez_setup.py and run
easy_install -a -Z turbogears
...ok, so you probably will have to get a few other packages too,
namely:
easy_install -a sqlobject
...and you will probably have to get mysql-python working too.
tg-admin quickstart

start-application_name_here

and it runs!


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Martin Aspeli-2
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
percious wrote:

> Hey all,
>
> I am coming over to your side of the proverbial web framework pond as
> my current employer is throughly entrenched in Zope/Plone technology.
> I thought I would start this thread to express my experience as a
> somewhat experienced [only with TG, php and cgi (yikes!)]  framework
> developer.  This should evolve to show somewhat of a comparison
> between TG and Plone, at the very least.
>
> Ok, so I spent roughly 3 days (20+ hours) getting plone to work
> properly in my desired development environment (and it's still not
> perfect, but livable).  Now, many of you will say "Why don't you just
> download the Unified installer and be done with it"  Aha!  Yeah, well
> I did that and it doesn't meet my needs.  See, I am a firm believer
> that one should keep up to date with his/her unit tests, and keeping
> one directory (site-packages) tidy is much more reasonable than
> updating 6 or 7 separate plone/zope applications.  Did I mention I
> will be installing more than just one PZ app...?  PZ, TG???
> rhymes...weird.
>
> Anyhow.  I'm not going to get into the nitty-gritty on getting Zope to
> work, that is mostly here: http://groups.google.com/group/plone-users/t/7d8a730e7fd428f7
> .  I will say that it was a major PITA and required me to re-compile
> my version of Python.  Now maybe there is no way around this, but I
> have never had to do such a thing to get a package working.  I would
> think at the very least there would be a fail-safe so that those
> packages which require C-optimizations would have associated Python
> packages.  I found a nice post about how the Unified Installer does
> this, but no direction as to what was wrong with my particular
> environment.
>
> Thankfully a member of this board stepped up and pointed me in the
> right direction, and Zope was all-but up and running when I finished.
> The one thing that was required after that was to install libxml2-
> python to get rid of a pesky error after my zinstance was started.
> See, I'm getting the lingo!

Please take a look at http://plone.org/documentation/tutorial/buildout

> Ok, and plone isn't even installed.  Let's compare this with TG
>
> install python

install python

> download ez_setup.py and run

download ez_setup.py and run

> easy_install -a -Z turbogears

easy_install -U ZopeSkel

> ...ok, so you probably will have to get a few other packages too,
> namely:
> easy_install -a sqlobject

... none of that

> ...and you will probably have to get mysql-python working too.
> tg-admin quickstart

paster create -t plone3_buildout myproject

> start-application_name_here

cd myproject
python bootstrap.py
./bin/buildout
./bin/instance fg


Okay, two more steps, but not as hard as you make it sound. :)

Martin

--
Acquisition is a jealous mistress


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Martin Aspeli-2
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by percious

> Ok, so I spent roughly 3 days (20+ hours) getting plone to work
> properly in my desired development environment (and it's still not
> perfect, but livable).  Now, many of you will say "Why don't you just
> download the Unified installer and be done with it"  Aha!  Yeah, well
> I did that and it doesn't meet my needs.  See, I am a firm believer
> that one should keep up to date with his/her unit tests, and keeping
> one directory (site-packages) tidy is much more reasonable than
> updating 6 or 7 separate plone/zope applications.

I don't quite understand what you're talking about here... At the very
least, if you're just starting out and trying to get something running,
using an installer is probably the best place to begin. It doesn't touch
your site-packages or anything else global at all.

Martin

--
Acquisition is a jealous mistress


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
percious
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by percious
Part II

Ok, so now I can get Plone up and running.  I have been following the
wetfeet tutorial which I find to be excellent.  I think it might be a
tad out-of-date however because I had to go rummaging around to get
plone working.  No biggie.

ok, so download plone, install anywhere and copy over the Products
directory.  Done.
Hmp.  Plone Site is not showing up in the drop-down for "add" ok, well
restart, or easy_install Plone into my site-packages.  No dice.  Ah,
good 'ol README.txt.  Looks like I now have to copy over the lib
directory.  Gotcha.  Aha! things are appearing, but no plone site...
hmmm.

Ok, there is a log directory, this doesn't take a genius to figure
out.  cat event.log....  right, tons of PIL errors, and a few wlement
trees !  Ok, well it looks like it needs the pil package... ok, so
easy_install PIL
ok, installed.... hmp, still not working.  (easy_install element_tree
works though)  ok, so lets put it in the lib directory for the
zinstance.  easy_install -d . PIL ... ok installs.  Still not
working.  Well hmp.  let's make a directory called PIL and copy
everything from the egg in there, and VOILA!  working Plone.

ok, compare this to TG Toscawidgets.  (no where near the
functionality, but a package built on TG)

easy_install toscawidgets
oh, and you will probably want forms and ajax forms so...
easy_install -a twAjaxTools
Done.

Ok, so that is my experience so far.  I still have this cludgy version
of PIL in my zinstance packages instead of site-packages where I want
it, but everything works.  It tooks some figuring out and some
searching, but it works.  I am ready to be a plone developer now.

I might also note that the length of time between posting and getting
a response on the boards is about 4 times that of TG, and I am
wondering if I have found the right place for such assistance or not.
It does seem like there are very knowledgeable members here and if the
right question is asked, poof! out comes the answer.

So far for a framework that claims to offer so much for so little
effort I am not yet seeing the pay-off.  I am sure that I will see in
the near future how all this work pays off with ease of development,
but I will have to keep you posted on that one.

thanks to those of you who stepped up and were willing to point a ZP
newb in the right direction.

-chris


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Reinoud van Leeuwen
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
On Tue, Sep 18, 2007 at 01:57:17PM -0700, percious wrote:
>
> I might also note that the length of time between posting and getting
> a response on the boards is about 4 times that of TG, and I am
> wondering if I have found the right place for such assistance or not.
> It does seem like there are very knowledgeable members here and if the
> right question is asked, poof! out comes the answer.

Your first posting more looked like sharing your experiences than a clean
question to me ";-)

(although that does not at all mean that we should not look into your
criticism.)

--
__________________________________________________
"Nothing is as subjective as reality"
Reinoud van Leeuwen    reinoud.v@...
http://www.xs4all.nl/~reinoud
__________________________________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Martin Aspeli-2
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by percious
Hi,

Btw - thanks for doing this - it's very valuable to us to get outside
perspectives!

> Ok, so now I can get Plone up and running.  I have been following the
> wetfeet

Which tutorial is this? URL?

> tutorial which I find to be excellent.  I think it might be a
> tad out-of-date however because I had to go rummaging around to get
> plone working.  No biggie.
>
> ok, so download plone, install anywhere and copy over the Products
> directory.  Done.
> Hmp.  Plone Site is not showing up in the drop-down for "add" ok, well
> restart, or easy_install Plone into my site-packages.  No dice.  Ah,
> good 'ol README.txt.  Looks like I now have to copy over the lib
> directory.  Gotcha.  Aha! things are appearing, but no plone site...
> hmmm.

Again, I'd look at http://plone.org/documentation/tutorial/buildout.
Also, note that we don't generally install Plone via easy_install. Plone
and it's packaging predate Python eggs, although all new packages are
being managed as eggs and old packages are being migrated.

> Ok, there is a log directory, this doesn't take a genius to figure
> out.  cat event.log....  right, tons of PIL errors, and a few wlement
> trees !  Ok, well it looks like it needs the pil package... ok, so
> easy_install PIL

Did you read that README? :) The problem here is that PIL can't be
installed as an egg, and must be compiled on your system to work.

> ok, installed.... hmp, still not working.  (easy_install element_tree
> works though)  ok, so lets put it in the lib directory for the
> zinstance.  easy_install -d . PIL ... ok installs.  Still not
> working.  Well hmp.  let's make a directory called PIL and copy
> everything from the egg in there, and VOILA!  working Plone.

You need to install PIL as a standalone package, the egg is broken. This
is clearly documented though. There's not much we can do beyond
documenting it. All the installers take care of it, of course.

> ok, compare this to TG Toscawidgets.  (no where near the
> functionality, but a package built on TG)
>
> easy_install toscawidgets
> oh, and you will probably want forms and ajax forms so...
> easy_install -a twAjaxTools
> Done.
>
> Ok, so that is my experience so far.  I still have this cludgy version
> of PIL in my zinstance packages instead of site-packages where I want
> it, but everything works.  It tooks some figuring out and some
> searching, but it works.  I am ready to be a plone developer now.

Try not to think of Plone as something that goes into site-packages. You
create a Zope server instance (a directory with somet stuff in it,
including an object database - no external database server is needed),
and install Plone it it (extract the tarball) - or you use buildout.

> I might also note that the length of time between posting and getting
> a response on the boards is about 4 times that of TG, and I am
> wondering if I have found the right place for such assistance or not.

You posted this at 21:44 and I replied on 21:54, that's not so bad, is
it... This list is generally very responsive (and it's the right place
to ask).

> It does seem like there are very knowledgeable members here and if the
> right question is asked, poof! out comes the answer.

Right. Asking good questions is most of the answer.

> So far for a framework that claims to offer so much for so little
> effort I am not yet seeing the pay-off.  I am sure that I will see in
> the near future how all this work pays off with ease of development,
> but I will have to keep you posted on that one.

Give it a chance at least. :)

> thanks to those of you who stepped up and were willing to point a ZP

What is ZP? It's not an acronym anyone else uses. ;-)

Martin

--
Acquisition is a jealous mistress


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
percious
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by Martin Aspeli-2
Yes,
And as I explained, I got the Unified installer working just fine,
(although when you do a runzope there is an error about libxml2.)
My development needs require my applications to share some global
packages, so I was trying to figure out how to get ZP to work within
those constraints.  It took some work indeed.

-chris

On Sep 18, 2:54 pm, Martin Aspeli <optil...@...> wrote:

> > Ok, so I spent roughly 3 days (20+ hours) getting plone to work
> > properly in my desired development environment (and it's still not
> > perfect, but livable).  Now, many of you will say "Why don't you just
> > download the Unified installer and be done with it"  Aha!  Yeah, well
> > I did that and it doesn't meet my needs.  See, I am a firm believer
> > that one should keep up to date with his/her unit tests, and keeping
> > one directory (site-packages) tidy is much more reasonable than
> > updating 6 or 7 separate plone/zope applications.
>
> I don't quite understand what you're talking about here... At the very
> least, if you're just starting out and trying to get something running,
> using an installer is probably the best place to begin. It doesn't touch
> your site-packages or anything else global at all.
>
> Martin
>
> --
> Acquisition is a jealous mistress
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plone-Users mailing list
> Plone-Us...@...://lists.sourceforge.net/lists/listinfo/plone-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
percious
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by Martin Aspeli-2
Awesome information about ZopeSkel.  That probably would have saved me
some time.  I still thing the developer would have to know about the -
fPIC thing before d/l and compiling Python, which is not a requirement
in TG.  Where in the documentation about installing is ZopeSkel
explained? Still seems a bit more involved...

This is exactly the kind of discussion that would have helped me to
get my installation working and was exactly the driving point of
sharing my experience.

Thanks again guys.

-chris

On Sep 18, 2:51 pm, Martin Aspeli <optil...@...> wrote:

> percious wrote:
> > Hey all,
>
> > I am coming over to your side of the proverbial web framework pond as
> > my current employer is throughly entrenched in Zope/Plone technology.
> > I thought I would start this thread to express my experience as a
> > somewhat experienced [only with TG, php and cgi (yikes!)]  framework
> > developer.  This should evolve to show somewhat of a comparison
> > between TG and Plone, at the very least.
>
> > Ok, so I spent roughly 3 days (20+ hours) getting plone to work
> > properly in my desired development environment (and it's still not
> > perfect, but livable).  Now, many of you will say "Why don't you just
> > download the Unified installer and be done with it"  Aha!  Yeah, well
> > I did that and it doesn't meet my needs.  See, I am a firm believer
> > that one should keep up to date with his/her unit tests, and keeping
> > one directory (site-packages) tidy is much more reasonable than
> > updating 6 or 7 separate plone/zope applications.  Did I mention I
> > will be installing more than just one PZ app...?  PZ, TG???
> > rhymes...weird.
>
> > Anyhow.  I'm not going to get into the nitty-gritty on getting Zope to
> > work, that is mostly here:http://groups.google.com/group/plone-users/t/7d8a730e7fd428f7
> > .  I will say that it was a major PITA and required me to re-compile
> > my version of Python.  Now maybe there is no way around this, but I
> > have never had to do such a thing to get a package working.  I would
> > think at the very least there would be a fail-safe so that those
> > packages which require C-optimizations would have associated Python
> > packages.  I found a nice post about how the Unified Installer does
> > this, but no direction as to what was wrong with my particular
> > environment.
>
> > Thankfully a member of this board stepped up and pointed me in the
> > right direction, and Zope was all-but up and running when I finished.
> > The one thing that was required after that was to install libxml2-
> > python to get rid of a pesky error after my zinstance was started.
> > See, I'm getting the lingo!
>
> Please take a look athttp://plone.org/documentation/tutorial/buildout
>
> > Ok, and plone isn't even installed.  Let's compare this with TG
>
> > install python
>
> install python
>
> > download ez_setup.py and run
>
> download ez_setup.py and run
>
> > easy_install -a -Z turbogears
>
> easy_install -U ZopeSkel
>
> > ...ok, so you probably will have to get a few other packages too,
> > namely:
> > easy_install -a sqlobject
>
> ... none of that
>
> > ...and you will probably have to get mysql-python working too.
> > tg-admin quickstart
>
> paster create -t plone3_buildout myproject
>
> > start-application_name_here
>
> cd myproject
> python bootstrap.py
> ./bin/buildout
> ./bin/instance fg
>
> Okay, two more steps, but not as hard as you make it sound. :)
>
> Martin
>
> --
> Acquisition is a jealous mistress
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plone-Users mailing list
> Plone-Us...@...://lists.sourceforge.net/lists/listinfo/plone-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Martin Aspeli-2
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by percious
percious wrote:
> Yes,
> And as I explained, I got the Unified installer working just fine,
> (although when you do a runzope there is an error about libxml2.)

I believe it's a warning, not an error?

> My development needs require my applications to share some global
> packages, so I was trying to figure out how to get ZP to work within
> those constraints.  It took some work indeed.

It doesn't really... products, you can symlink into
$INSTANCE_HOME/Products, packages you can enable as eggs. Again, I'd
encourage you to look at the buildout tutorial, since this is more
targetted at your needs.

Martin

--
Acquisition is a jealous mistress


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
percious
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by Reinoud van Leeuwen
My point with this was to find out if there is a better boardroom/chat
room to ask questions.  Sorry this seems so critical.  It is hard to
express my experiences without coming off that way.  I know there is
this kind of aura of competition between the frameworks and by putting
myself between two major combatants I am going to see a lot of flak I
am sure!!!!

cheers.
-chris

On Sep 18, 3:00 pm, Reinoud van Leeuwen <reinou...@...>
wrote:

> On Tue, Sep 18, 2007 at 01:57:17PM -0700, percious wrote:
>
> > I might also note that the length of time between posting and getting
> > a response on the boards is about 4 times that of TG, and I am
> > wondering if I have found the right place for such assistance or not.
> > It does seem like there are very knowledgeable members here and if the
> > right question is asked, poof! out comes the answer.
>
> Your first posting more looked like sharing your experiences than a clean
> question to me ";-)
>
> (although that does not at all mean that we should not look into your
> criticism.)
>
> --
> __________________________________________________
> "Nothing is as subjective as reality"
> Reinoud van Leeuwen    reinou...@...://www.xs4all.nl/~reinoud
> __________________________________________________
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plone-Users mailing list
> Plone-Us...@...://lists.sourceforge.net/lists/listinfo/plone-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Reinoud van Leeuwen
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
On Tue, Sep 18, 2007 at 02:16:02PM -0700, percious wrote:
> My point with this was to find out if there is a better boardroom/chat
> room to ask questions.  Sorry this seems so critical.  It is hard to
> express my experiences without coming off that way.  I know there is
> this kind of aura of competition between the frameworks and by putting
> myself between two major combatants I am going to see a lot of flak I
> am sure!!!!

No problem at all. I see it as constructive. Lots of people here are way
too deep in Plone to know the problems that you are encountering. And
think it is good to know what is different in other frameworks.

--
__________________________________________________
"Nothing is as subjective as reality"
Reinoud van Leeuwen    reinoud.v@...
http://www.xs4all.nl/~reinoud
__________________________________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Martin Aspeli-2
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by percious
percious wrote:
> Awesome information about ZopeSkel.  That probably would have saved me
> some time.  I still thing the developer would have to know about the -
> fPIC thing before d/l and compiling Python, which is not a requirement
> in TG.

It's not in Plone either, generally. I don't know why you had to do this
(but note that Plone won't run on Python 2.5).

> Where in the documentation about installing is ZopeSkel
> explained? Still seems a bit more involved...

The ZopeSkel/buildout approach is not necessarily the only or officially
sanctioned way of installing Plone (the installers are, more than
anything). Buildout is more developer-oriented. It is documented on
plone.org/documentation, tough.

> This is exactly the kind of discussion that would have helped me to
> get my installation working and was exactly the driving point of
> sharing my experience.

If you'd asked sooner, you may've gotten an answer sooner too. ;-)

Martin

--
Acquisition is a jealous mistress


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
percious
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
In reply to this post by Martin Aspeli-2
> Hi,
>
> Btw - thanks for doing this - it's very valuable to us to get outside
> perspectives!
It's sort of fun being the "bad guy"...

>
> > Ok, so now I can get Plone up and running.  I have been following the
> > wetfeet
>
> Which tutorial is this? URL?
http://plone.org/about/movies (second one from the bottom)  I compare
this to Kevin Dangoor's 20 minute Wiki.  (but plone does more useful
DB stuff right off the bat)  Very fast paced!!!!  I like it.  Funny,
keeps my interest, not boring.

>
> > tutorial which I find to be excellent.  I think it might be a
> > tad out-of-date however because I had to go rummaging around to get
> > plone working.  No biggie.
>
> > ok, so download plone, install anywhere and copy over the Products
> > directory.  Done.
> > Hmp.  Plone Site is not showing up in the drop-down for "add" ok, well
> > restart, or easy_install Plone into my site-packages.  No dice.  Ah,
> > good 'ol README.txt.  Looks like I now have to copy over the lib
> > directory.  Gotcha.  Aha! things are appearing, but no plone site...
> > hmmm.
>
> Again, I'd look athttp://plone.org/documentation/tutorial/buildout.
> Also, note that we don't generally install Plone via easy_install. Plone
> and it's packaging predate Python eggs, although all new packages are
> being managed as eggs and old packages are being migrated.
>
Yeah, i'll look at the buildout.  I have a good idea how the layout of
the webapplication is now.


> > Ok, there is a log directory, this doesn't take a genius to figure
> > out.  cat event.log....  right, tons of PIL errors, and a few wlement
> > trees !  Ok, well it looks like it needs the pil package... ok, so
> > easy_install PIL
>
> Did you read that README? :) The problem here is that PIL can't be
> installed as an egg, and must be compiled on your system to work.
>
That's weird, because numpy has to be compiled and works fine as an
egg.

> > ok, installed.... hmp, still not working.  (easy_install element_tree
> > works though)  ok, so lets put it in the lib directory for the
> > zinstance.  easy_install -d . PIL ... ok installs.  Still not
> > working.  Well hmp.  let's make a directory called PIL and copy
> > everything from the egg in there, and VOILA!  working Plone.
>
> You need to install PIL as a standalone package, the egg is broken. This
> is clearly documented though. There's not much we can do beyond
> documenting it. All the installers take care of it, of course.
>
> > ok, compare this to TG Toscawidgets.  (no where near the
> > functionality, but a package built on TG)
>
> > easy_install toscawidgets
> > oh, and you will probably want forms and ajax forms so...
> > easy_install -a twAjaxTools
> > Done.
>
> > Ok, so that is my experience so far.  I still have this cludgy version
> > of PIL in my zinstance packages instead of site-packages where I want
> > it, but everything works.  It tooks some figuring out and some
> > searching, but it works.  I am ready to be a plone developer now.
>
> Try not to think of Plone as something that goes into site-packages. You
> create a Zope server instance (a directory with somet stuff in it,
> including an object database - no external database server is needed),
> and install Plone it it (extract the tarball) - or you use buildout.
>
yep. got it.  Just seems weird to me that the "Products" cant be
inside some library that can be updated readily.  In some way this is
good because you can update the products individually and not risk
downtime, BUT isn't that why we write unit tests and have a release
version of our applications as well as a dev?

> > I might also note that the length of time between posting and getting
> > a response on the boards is about 4 times that of TG, and I am
> > wondering if I have found the right place for such assistance or not.
>
> You posted this at 21:44 and I replied on 21:54, that's not so bad, is
> it... This list is generally very responsive (and it's the right place
> to ask).
>
Replies to this post were expected to be swift (I did stir the pot a
little, no?)

> > It does seem like there are very knowledgeable members here and if the
> > right question is asked, poof! out comes the answer.
>
> Right. Asking good questions is most of the answer.
>
> > So far for a framework that claims to offer so much for so little
> > effort I am not yet seeing the pay-off.  I am sure that I will see in
> > the near future how all this work pays off with ease of development,
> > but I will have to keep you posted on that one.
>
> Give it a chance at least. :)
>
Happy too, and I'll be a pycon for the full length of the sprints...

> > thanks to those of you who stepped up and were willing to point a ZP
>
> What is ZP? It's not an acronym anyone else uses. ;-)
>

ha ha! my hand hurts from typing Z-o-p-e and P-l-o-n-e

-chris


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Martin Aspeli-2
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink
percious wrote:

> http://plone.org/about/movies (second one from the bottom)  I compare
> this to Kevin Dangoor's 20 minute Wiki.  (but plone does more useful
> DB stuff right off the bat)  Very fast paced!!!!  I like it.  Funny,
> keeps my interest, not boring.

Ah great. I don't have time to watch videos, so I never watched these. ;-)

>> Did you read that README? :) The problem here is that PIL can't be
>> installed as an egg, and must be compiled on your system to work.
>>
> That's weird, because numpy has to be compiled and works fine as an
> egg.

It's a problem specific to PIL and the way it's been eggified, I believe.

> yep. got it.  Just seems weird to me that the "Products" cant be
> inside some library that can be updated readily.

They're a very old mechanism. ;-)

> In some way this is
> good because you can update the products individually and not risk
> downtime, BUT isn't that why we write unit tests and have a release
> version of our applications as well as a dev?

I don't see what this has to do with unit tests. You can write tests for
products easily enough.

Martin

--
Acquisition is a jealous mistress


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
percious
Re: A TG Developer Gets Ploned
Reply Threaded More
Print post
Permalink


> percious wrote:
> >http://plone.org/about/movies(second one from the bottom)  I compare
> > this to Kevin Dangoor's 20 minute Wiki.  (but plone does more useful
> > DB stuff right off the bat)  Very fast paced!!!!  I like it.  Funny,
> > keeps my interest, not boring.
>
> Ah great. I don't have time to watch videos, so I never watched these. ;-)

plus you never had to install a platform which has been running for X
years smoothly for it's developers...

> >> Did you read that README? :) The problem here is that PIL can't be
> >> installed as an egg, and must be compiled on your system to work.
>
> > That's weird, because numpy has to be compiled and works fine as an
> > egg.
>
> It's a problem specific to PIL and the way it's been eggified, I believe.
>
Perhaps I should call over to PIL.  Another note, I have used PIL as
an egg before inside my TG apps.

> > yep. got it.  Just seems weird to me that the "Products" cant be
> > inside some library that can be updated readily.
>
> They're a very old mechanism. ;-)
>
Time for an upgrade?

> > In some way this is
> > good because you can update the products individually and not risk
> > downtime, BUT isn't that why we write unit tests and have a release
> > version of our applications as well as a dev?
>
> I don't see what this has to do with unit tests. You can write tests for
> products easily enough.
>
just saying I can see why the products are in a separate (but equal)
directory.

cheers.
-chris


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012000007