RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-13 Thread Hugo Ahlenius
A factor to take into account: reuse. If you code in CF you might be able
to reuse snippets/tags/udf:s/cfc/circuits/fuses, which you won't be able
to if you shift to alternative technology X.

If you shift your whole shop to Zope/Python, then it would make sense
though (future apps would reuse the code/experiences from the first app).

/Hugo


-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project Officer    Phone:+46 8 230460
UNEP GRID-Arendal  Fax:  +46 8 230441
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
- 



| -Original Message-
| From: brob [mailto:[EMAIL PROTECTED]
| Sent: Friday, October 10, 2003 18:25
| To: CF-Talk
| Subject: Re: Coldfusion VS Zope (Python) ... HELP!!
|
|
| Not only is he non technical, but also non logical.  Even if
| it's true that you can build applications faster in Zope, you
| still have to factor in the time it will take you/your team
| to learn it and get to know the ins and outs of it.
|
|   - Original Message - 
|   From: Glen Salisbury
|   To: CF-Talk
|   Sent: Friday, October 10, 2003 9:50 AM
|   Subject: Coldfusion VS Zope (Python) ... HELP!!
|
|
|   Hey everyone.
|
|   I've currently been asked by my boss to do a large
| application in Zope.
|   (www.zope.org)
|
|   We always done Coldfusion but despite the fact that he is
| not technical,
|   he's certain that the project we are doing could be built faster in
|   Zope.  Despite that I've already made a case that Zope
| market is tiny,
|   (try doing a job search on it) and that none of the dev
| team knows Python
|   (yet).
|   Does anyone have any pros / cons that are fact based that a
| case could be
|   made
|   either way?
|
|   Has anyone here coded in Python? If so which is faster to code in?
|
|   Thanks for your input.
|
|   - Glen Salisbury
|   Application Engineer
|
|
| 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Dave Carabetta
> Thanks for the feedback everyone. Zope doesn't sound as bad as
> it seems. Only issues is learning while architecting a large project.
> It's true learning on company time is a big perk. Does anyone see
> Python and/or Zope and professionally marketable skill?
>

Python, absolutely. Zope, not so much at this point. But there's a
difference between the two -- Python's a programming language and the
other's an object-oriented CMS written in Python, so needs for the two are
going to be completely different.

We do a lot of math and math modeling (using the NumPy Python module) at our
company, and the speed gains we see over using MX and Oracle to do the same
thing, in some cases, is improved by a magnitude of 1000% (yes, 1000%).
However, it's should clearly be noted that MX and Oracle aren't designed for
the type of number crunching we're doing, but nonetheless, it's impressive.

Regards,
Dave.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Angel Stewart
WHat you are describing there could very well be done with PHP Site
generators that
do everything for you, whilst you just pick and choose options.

 
If there was an application like this in CF you would have the same
timetable for completion, since all the work of developing the site is
more or less done for you.

 
FOr whatever reason, however, no one has brought out a similar
tool/application for COldfusion. 
Whilst there are several for PHP and apparently of Python.

 
The real test will be when/if you need to customise something and have
to edit the source code.

 
-Gel

-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 1:53 PM
To: CF-Talk
Subject: RE: Coldfusion VS Zope (Python) ... HELP!!

If it helps any, I've just started implementing Zope on my personal
server,
but code in CF professionally.  My experience thus far is that Zope does
have a lot of potential to make life easy.  I've installed Plone on top
of
Zope, then within an hour, I had a basic web site up and running, with
editing capabilities, online management of the site, and some other
nifty
tools thrown in like search capabilities, and and news listings.  From
what
I've read, you can take a section of your site (like news listings) and
create an RSS feed for them with a (relatively) few keystrokes/mouse
clicks.

To create something from scratch like this in CF would have taken at
least a
week or two by an experienced CF programmer (this is my own opinion).
So,
the 3 or 4 days I've spent figuring out the installation routines for
Zope
and Plone, and getting a basic feel for the tools have been well spent.
Currently I'm trying to figure out how to setup the CMFVisualEditor tool
for
Zope to provide WYSIWYG editing of pages.  Once I have this done, then
I'll
be diving deeper into customizing my templates.  If all goes well, I'll
be
able to publish my sight by Monday.  If I were doing this in CF, my
target
publish date would be a month or two down the road  Oh, and btw, I
haven't yet had to do any python scripting.  (I face the same deal as
you
with regards to python - I don't know it)

Don't get me wrong, I love CF and have done and seen other's do some
very
amazing stuff with it.  But for my personal server, I've choosen the
open
source route, and CF doesn't play well with Gentoo Linux.

My recommendation would be to at least become partially familiar with
Zope,
then make a judgment for your specific needs.  

HTH

Shawn


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Dave Watts
> Thanks for the feedback everyone. Zope doesn't sound as 
> bad as it seems. Only issues is learning while architecting 
> a large project. It's true learning on company time is a 
> big perk. Does anyone see Python and/or Zope and 
> professionally marketable skill?

There aren't too many people using Zope, but learning a general-purpose
scripting language is a good idea if you don't already know one. Python is
used in many odd places, for all sorts of projects.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Jim Campbell
I haven't seen Zope... ever on Monster/HotJobs/CareerBuilder, but have 
seen it pop up from time to time on FlipDog.  I have, however, seen 
Python from time to time.

My friends that use Python professionally use it in a number of various 
situations, from 3D rendering to process automation to Java interfaces 
to GUI application development (with TKinter and other windowing 
toolkits).  Just knowing Python will be a benefit - you never know what 
will show up.

- Jim

Glen Salisbury wrote:

> Thanks for the feedback everyone. Zope doesn't sound as bad as
> it seems. Only issues is learning while architecting a large project.
> It's true learning on company time is a big perk. Does anyone see
> Python and/or Zope and professionally marketable skill?
>
> - Glen
>
> From: Shawn Grover
> Sent: Friday, October 10, 2003 1:53 PM
> To: CF-Talk
> Subject: RE: Coldfusion VS Zope (Python) ... HELP!!
>
>   If it helps any, I've just started implementing Zope on my personal
> server,
>   but code in CF professionally.  My experience thus far is that Zope does
>   have a lot of potential to make life easy.  I've installed Plone on 
> top of
>   Zope, then within an hour, I had a basic web site up and running, with
>   editing capabilities, online management of the site, and some other 
> nifty
>   tools thrown in like search capabilities, and and news listings.  From
> what
>   I've read, you can take a section of your site (like news listings) and
>   create an RSS feed for them with a (relatively) few keystrokes/mouse
> clicks.
>
>   To create something from scratch like this in CF would have taken at 
> least
> a
>   week or two by an experienced CF programmer (this is my own 
> opinion).  So,
>   the 3 or 4 days I've spent figuring out the installation routines 
> for Zope
>   and Plone, and getting a basic feel for the tools have been well spent.
>   Currently I'm trying to figure out how to setup the CMFVisualEditor tool
> for
>   Zope to provide WYSIWYG editing of pages.  Once I have this done, then
> I'll
>   be diving deeper into customizing my templates.  If all goes well, 
> I'll be
>   able to publish my sight by Monday.  If I were doing this in CF, my 
> target
>   publish date would be a month or two down the road  Oh, and btw, I
>   haven't yet had to do any python scripting.  (I face the same deal 
> as you
>   with regards to python - I don't know it)
>
>   Don't get me wrong, I love CF and have done and seen other's do some 
> very
>   amazing stuff with it.  But for my personal server, I've choosen the 
> open
>   source route, and CF doesn't play well with Gentoo Linux.
>
>   My recommendation would be to at least become partially familiar with
> Zope,
>   then make a judgment for your specific needs.
>
>   HTH
>
>   Shawn
>
>   -Original Message-
>   From: Glen Salisbury [mailto:[EMAIL PROTECTED]
>   Sent: Friday, October 10, 2003 8:50 AM
>   To: CF-Talk
>   Subject: Coldfusion VS Zope (Python) ... HELP!!
>
>   Hey everyone.
>
>   I've currently been asked by my boss to do a large application in Zope.
>   (www.zope.org)
>
>   We always done Coldfusion but despite the fact that he is not technical,
>   he's certain that the project we are doing could be built faster in
>   Zope.  Despite that I've already made a case that Zope market is tiny,
>   (try doing a job search on it) and that none of the dev team knows 
> Python
>   (yet).
>   Does anyone have any pros / cons that are fact based that a case 
> could be
>   made
>   either way?
>
>   Has anyone here coded in Python? If so which is faster to code in?
>
>   Thanks for your input.
>
>   - Glen Salisbury
>   Application Engineer
>
> _
>
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Jon Block
Just do a search on hotjobs and prepare to be blown away by the vast
listings
  -Original Message-
  From: Glen Salisbury [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 10, 2003 2:33 PM
  To: CF-Talk
  Subject: RE: Coldfusion VS Zope (Python) ... HELP!!

  Thanks for the feedback everyone. Zope doesn't sound as bad as
  it seems. Only issues is learning while architecting a large project.
  It's true learning on company time is a big perk. Does anyone see
  Python and/or Zope and professionally marketable skill?

  - Glen

  From: Shawn Grover
  Sent: Friday, October 10, 2003 1:53 PM
  To: CF-Talk
  Subject: RE: Coldfusion VS Zope (Python) ... HELP!!

    If it helps any, I've just started implementing Zope on my personal
  server,
    but code in CF professionally.  My experience thus far is that Zope does
    have a lot of potential to make life easy.  I've installed Plone on top
of
    Zope, then within an hour, I had a basic web site up and running, with
    editing capabilities, online management of the site, and some other
nifty
    tools thrown in like search capabilities, and and news listings.  From
  what
    I've read, you can take a section of your site (like news listings) and
    create an RSS feed for them with a (relatively) few keystrokes/mouse
  clicks.

    To create something from scratch like this in CF would have taken at
least
  a
    week or two by an experienced CF programmer (this is my own opinion).
So,
    the 3 or 4 days I've spent figuring out the installation routines for
Zope
    and Plone, and getting a basic feel for the tools have been well spent.
    Currently I'm trying to figure out how to setup the CMFVisualEditor tool
  for
    Zope to provide WYSIWYG editing of pages.  Once I have this done, then
  I'll
    be diving deeper into customizing my templates.  If all goes well, I'll
be
    able to publish my sight by Monday.  If I were doing this in CF, my
target
    publish date would be a month or two down the road  Oh, and btw, I
    haven't yet had to do any python scripting.  (I face the same deal as
you
    with regards to python - I don't know it)

    Don't get me wrong, I love CF and have done and seen other's do some
very
    amazing stuff with it.  But for my personal server, I've choosen the
open
    source route, and CF doesn't play well with Gentoo Linux.

    My recommendation would be to at least become partially familiar with
  Zope,
    then make a judgment for your specific needs.

    HTH

    Shawn

    -Original Message-
    From: Glen Salisbury [mailto:[EMAIL PROTECTED]
    Sent: Friday, October 10, 2003 8:50 AM
    To: CF-Talk
    Subject: Coldfusion VS Zope (Python) ... HELP!!

    Hey everyone.

    I've currently been asked by my boss to do a large application in Zope.
    (www.zope.org)

    We always done Coldfusion but despite the fact that he is not technical,
    he's certain that the project we are doing could be built faster in
    Zope.  Despite that I've already made a case that Zope market is tiny,
    (try doing a job search on it) and that none of the dev team knows
Python
    (yet).
    Does anyone have any pros / cons that are fact based that a case could
be
    made
    either way?

    Has anyone here coded in Python? If so which is faster to code in?

    Thanks for your input.

    - Glen Salisbury
    Application Engineer

  _


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Glen Salisbury
Thanks for the feedback everyone. Zope doesn't sound as bad as
it seems. Only issues is learning while architecting a large project.
It's true learning on company time is a big perk. Does anyone see
Python and/or Zope and professionally marketable skill?

- Glen

From: Shawn Grover
Sent: Friday, October 10, 2003 1:53 PM
To: CF-Talk
Subject: RE: Coldfusion VS Zope (Python) ... HELP!!

  If it helps any, I've just started implementing Zope on my personal
server,
  but code in CF professionally.  My experience thus far is that Zope does
  have a lot of potential to make life easy.  I've installed Plone on top of
  Zope, then within an hour, I had a basic web site up and running, with
  editing capabilities, online management of the site, and some other nifty
  tools thrown in like search capabilities, and and news listings.  From
what
  I've read, you can take a section of your site (like news listings) and
  create an RSS feed for them with a (relatively) few keystrokes/mouse
clicks.

  To create something from scratch like this in CF would have taken at least
a
  week or two by an experienced CF programmer (this is my own opinion).  So,
  the 3 or 4 days I've spent figuring out the installation routines for Zope
  and Plone, and getting a basic feel for the tools have been well spent.
  Currently I'm trying to figure out how to setup the CMFVisualEditor tool
for
  Zope to provide WYSIWYG editing of pages.  Once I have this done, then
I'll
  be diving deeper into customizing my templates.  If all goes well, I'll be
  able to publish my sight by Monday.  If I were doing this in CF, my target
  publish date would be a month or two down the road  Oh, and btw, I
  haven't yet had to do any python scripting.  (I face the same deal as you
  with regards to python - I don't know it)

  Don't get me wrong, I love CF and have done and seen other's do some very
  amazing stuff with it.  But for my personal server, I've choosen the open
  source route, and CF doesn't play well with Gentoo Linux.

  My recommendation would be to at least become partially familiar with
Zope,
  then make a judgment for your specific needs.

  HTH

  Shawn

  -Original Message-
  From: Glen Salisbury [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 10, 2003 8:50 AM
  To: CF-Talk
  Subject: Coldfusion VS Zope (Python) ... HELP!!

  Hey everyone.

  I've currently been asked by my boss to do a large application in Zope.
  (www.zope.org)

  We always done Coldfusion but despite the fact that he is not technical,
  he's certain that the project we are doing could be built faster in
  Zope.  Despite that I've already made a case that Zope market is tiny,
  (try doing a job search on it) and that none of the dev team knows Python
  (yet).
  Does anyone have any pros / cons that are fact based that a case could be
  made
  either way?

  Has anyone here coded in Python? If so which is faster to code in?

  Thanks for your input.

  - Glen Salisbury
  Application Engineer

    _


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Shawn Grover
If it helps any, I've just started implementing Zope on my personal server,
but code in CF professionally.  My experience thus far is that Zope does
have a lot of potential to make life easy.  I've installed Plone on top of
Zope, then within an hour, I had a basic web site up and running, with
editing capabilities, online management of the site, and some other nifty
tools thrown in like search capabilities, and and news listings.  From what
I've read, you can take a section of your site (like news listings) and
create an RSS feed for them with a (relatively) few keystrokes/mouse clicks.

 
To create something from scratch like this in CF would have taken at least a
week or two by an experienced CF programmer (this is my own opinion).  So,
the 3 or 4 days I've spent figuring out the installation routines for Zope
and Plone, and getting a basic feel for the tools have been well spent.
Currently I'm trying to figure out how to setup the CMFVisualEditor tool for
Zope to provide WYSIWYG editing of pages.  Once I have this done, then I'll
be diving deeper into customizing my templates.  If all goes well, I'll be
able to publish my sight by Monday.  If I were doing this in CF, my target
publish date would be a month or two down the road  Oh, and btw, I
haven't yet had to do any python scripting.  (I face the same deal as you
with regards to python - I don't know it)

 
Don't get me wrong, I love CF and have done and seen other's do some very
amazing stuff with it.  But for my personal server, I've choosen the open
source route, and CF doesn't play well with Gentoo Linux.

 
My recommendation would be to at least become partially familiar with Zope,
then make a judgment for your specific needs.  

 
HTH

 
Shawn

-Original Message-
From: Glen Salisbury [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 8:50 AM
To: CF-Talk
Subject: Coldfusion VS Zope (Python) ... HELP!!

Hey everyone.

I've currently been asked by my boss to do a large application in Zope.
(www.zope.org)

We always done Coldfusion but despite the fact that he is not technical,
he's certain that the project we are doing could be built faster in
Zope.  Despite that I've already made a case that Zope market is tiny,
(try doing a job search on it) and that none of the dev team knows Python
(yet).
Does anyone have any pros / cons that are fact based that a case could be
made
either way?

Has anyone here coded in Python? If so which is faster to code in?

Thanks for your input.

- Glen Salisbury
Application Engineer

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Stacy Young
I wasn't even a gleam in my parents eye at that point in time. ;-)

Stace

  _  

From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: October 10, 2003 12:19 PM
To: CF-Talk
Subject: Re: Coldfusion VS Zope (Python) ... HELP!!

>>In older programming languages, whitespace isn't important,

Depends how old you're thinking.

Back in 60's and 70's, THE language was FORTRAN, on punched cards;
Columns 1 to 5 were for a statement label (number), column 6 was for a
continuation mark,
columns 7 to 71 were for a statement, and columns 72-80 were for a card
sequence number,
very handful when one would drop his deck of cards ;-)

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Nathan Strutz
If you have skills in a programming language, your next project written in
said language is bound to have better programming than all your earlier
projects. If you have no skills in a particular language, your first project
is bound to be full of holes and other serious problems.

IMHO, I would say learn python and zope now, if your boss is hell-bent on
it, and use it on a project you start in a few months, when you've become
more comfortable with development.

(this reminds me of the time my boss wanted to switch to asp... 'if we have
crappy code now, and you want to switch to another language, you'll still
have crappy code, just in another language...')

-nathan strutz

-Original Message-
From: brob [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 9:25 AM
To: CF-Talk
Subject: Re: Coldfusion VS Zope (Python) ... HELP!!

Not only is he non technical, but also non logical.  Even if it's true that
you can build applications faster in Zope, you still have to factor in the
time it will take you/your team to learn it and get to know the ins and outs
of it.

  - Original Message -
  From: Glen Salisbury
  To: CF-Talk
  Sent: Friday, October 10, 2003 9:50 AM
  Subject: Coldfusion VS Zope (Python) ... HELP!!

  Hey everyone.

  I've currently been asked by my boss to do a large application in Zope.
  (www.zope.org)

  We always done Coldfusion but despite the fact that he is not technical,
  he's certain that the project we are doing could be built faster in
  Zope.  Despite that I've already made a case that Zope market is tiny,
  (try doing a job search on it) and that none of the dev team knows Python
  (yet).
  Does anyone have any pros / cons that are fact based that a case could be
  made
  either way?

  Has anyone here coded in Python? If so which is faster to code in?

  Thanks for your input.

  - Glen Salisbury
  Application Engineer


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Claude Schneegans
>>In older programming languages, whitespace isn't important,

Depends how old you're thinking.

Back in 60's and 70's, THE language was FORTRAN, on punched cards;
Columns 1 to 5 were for a statement label (number), column 6 was for a continuation mark,
columns 7 to 71 were for a statement, and columns 72-80 were for a card sequence number,
very handful when one would drop his deck of cards ;-)

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread brob
Not only is he non technical, but also non logical.  Even if it's true that you can build applications faster in Zope, you still have to factor in the time it will take you/your team to learn it and get to know the ins and outs of it.

  - Original Message - 
  From: Glen Salisbury 
  To: CF-Talk 
  Sent: Friday, October 10, 2003 9:50 AM
  Subject: Coldfusion VS Zope (Python) ... HELP!!

  Hey everyone.

  I've currently been asked by my boss to do a large application in Zope.
  (www.zope.org)

  We always done Coldfusion but despite the fact that he is not technical,
  he's certain that the project we are doing could be built faster in
  Zope.  Despite that I've already made a case that Zope market is tiny,
  (try doing a job search on it) and that none of the dev team knows Python
  (yet).
  Does anyone have any pros / cons that are fact based that a case could be
  made
  either way?

  Has anyone here coded in Python? If so which is faster to code in?

  Thanks for your input.

  - Glen Salisbury
  Application Engineer


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Claude Schneegans
>>Basically the same thing, and I find it to be a little easier to read
without all those brackets,

It depends how you use brackets. Personally I use them as blank lines, a little like it would look in Python,
and mostly: no braket when it is not necessary.

Your piece of code would ;ook like:

int factorial(int x)
    {
    if (x == 0) return(1);
    else return(x * factorial(x-1));
    }

Much easier to read as far as I'm concerned.

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Claude Schneegans
>>In this day and age that seems pretty backward

How about Fortran then? ;-)

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Paul Hastings
> show you where code blocks begin and end. In "real" languages, like
English,
> we often use whitespace to provide information.

well english is kind of like, well "olde" and usually no human being stops
working if we misplace a space or two. i used to work in a macro language
(AML used to control arc/info GIS programs) that used spaces for program
meaning. it barfed on tabs. folks often used the word "sadistic" preceded by
a colorful adjective and followed by "AML" in the same sentence.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Jim Campbell
Whitespace in Python's been a contentious issue from the get-go.  
Essentially, whitespace is used instead of punctuation to specify a 
"block" of code (I lifted this example from Wikipedia):

def factorial(x):
    if x == 0:
return 1
    else:
return x * factorial(x-1)

While in C, it would be (again, from Wikipedia):

int factorial(int x) {
    if (x == 0) {
return(1);
    } else {
return(x * factorial(x-1));
    }
}

Basically the same thing, and I find it to be a little easier to read 
without all those brackets, but that's me, and I have friends who can't 
stand it and prefer the obviousness of the brackets.  There's more to 
it, but that's basically the point behind the whitespace in Python.

-Jim

Angel Stewart wrote:

> Whitespace in the code is important?
>
>
> In this day and age that seems pretty backward :-)
>
>
> -Gel
>
> -Original Message-
> From: Jim Campbell [mailto:[EMAIL PROTECTED]
>
> :) On the internet, no one can see you laughing.  That, and pretty much
> any Python IDE will keep your code nice and clean.  I've made the
> mistake of writing Python in Notepad and had way too many problems with
> just that.
>
> - Jim
>
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Dave Carabetta
>Whitespace in the code is important?
>
>In this day and age that seems pretty backward :-)

The whitespace has to do with horizontal whitespace (tabs) predominantly. 
When coding and "if" statement, for example, there's no concept of curly 
braces to surround your code block with. You tab-indent for the entire 
contents of the if statement and then the compiler knows the if statement is 
done when you un-indent.

It's a bit quirky, but it does force you to write clean formatted code, 
which I really like. Vertical whitespace (space between code blocks) doesn't 
matter in my experience.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Dave Watts
> Whitespace in the code is important?
>  
> In this day and age that seems pretty backward :-)

Why does it seem backward? In older programming languages, whitespace isn't
important, and you need metacharacters to tell you when lines end, or to
show you where code blocks begin and end. In "real" languages, like English,
we often use whitespace to provide information.

What I like about Python's use of whitespace is that it enforces a common
rudimentary style within code; there's nothing analogous to using K&R-style
curly braces versus another style.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Angel Stewart
Whitespace in the code is important?

 
In this day and age that seems pretty backward :-)

 
-Gel

-Original Message-
From: Jim Campbell [mailto:[EMAIL PROTECTED] 

:) On the internet, no one can see you laughing.  That, and pretty much 
any Python IDE will keep your code nice and clean.  I've made the 
mistake of writing Python in Notepad and had way too many problems with 
just that.

- Jim


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Dave Watts
> We always done Coldfusion but despite the fact that he is not 
> technical, he's certain that the project we are doing could be 
> built faster in Zope. Despite that I've already made a case 
> that Zope market is tiny, (try doing a job search on it) and 
> that none of the dev team knows Python (yet). Does anyone have 
> any pros / cons that are fact based that a case could be made
> either way?

Well, the obvious thing to say is that, no matter how easy or good it is,
you'll still have to learn it first. Zope is pretty nice, though, in that it
provides a useful framework for web applications.

> Has anyone here coded in Python? If so which is faster to code in?

I like Python, although I'm an amateur and mediocre Python programmer at
best. If you don't know either language, and have no background with
computers, I imagine that either language will be easy to learn and use -
Python is very suitable for learning programming, while CF is very suitable
for people with HTML authoring backgrounds. It's worth noting that Python is
a general-purpose scripting language, while CF is designed for one thing
only: web applications.

In the end, though, if your manager decides to go with Python/Zope, you'll
get to learn a new skill set on his dime, so there's a bright side to it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Jim Campbell
:) On the internet, no one can see you laughing.  That, and pretty much 
any Python IDE will keep your code nice and clean.  I've made the 
mistake of writing Python in Notepad and had way too many problems with 
just that.

- Jim

Paul Hastings wrote:

> > the syntax and pecadilloes of Python (tabbing and whitespace are VERY
> > important) it's fairly straightforward.
>
> ...and you say that with a straight face.
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Jim Campbell
I assume you could - Whatever you write in Jython is going to be usable 
Java bytecode, so implementing J2ME should be quite possible.  However, 
you might be limited in what tools you can use, since Jython is a J2SE 
application, and J2ME doesn't have quite the range of capabilities of 
J2SE (I haven't written in it before, so you should definitely 
investigate further).

Oh, and www.jython.org :)

- Jim

Angel Stewart wrote:

> This sounds fantastic!
> Would you be able to write Java applications in Jython (I am assuming
> that Python is a lot easier to write than Java code) to run on Cell
> Phones?
> :-)
>
>
> Where can I get Jython?
>
>
> err...I guess I could Google it...
>
>
> -Gel
>
> -Original Message-
> From: Jim Campbell [mailto:[EMAIL PROTECTED]
>
> Python is a fantastic language - it's up there with ColdFusion for
> general ease-of-coding in my opinion.  If you'd like a very concise and
> well-written introduction, this book, Learning Python by O'Reilly
> (http://www.oreilly.com/catalog/lpython/) is great.
>
> One great thing about Python is the interactive shell - you can invoke
> it from the command line and write scripts interactively without having
> to do the save > compile > run thing.  It's great for learning the
> language, but it's even better for testing modules.
>
> I'm actually using Python and Coldfusion together with a tool called
> Jython - an all-Java implementation of the Python language.  I can
> import any Java class/interface/what have you into my Jython program and
>
> run it as I would any other Python app.  The difference, however, is
> that it's compiled into Java bytecode, and is invokable inside any Java
> application, like, well, ColdFusion.  I've written some simple CFX tags
> in Jython and am currently working on using Jython to help write a Java
> app framework for CFMX to connect to.
>
> You can write web apps in Zope/Python - and once you're familiar with
> the syntax and pecadilloes of Python (tabbing and whitespace are VERY
> important) it's fairly straightforward.
>
> - Jim
>
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Paul Hastings
> the syntax and pecadilloes of Python (tabbing and whitespace are VERY 
> important) it's fairly straightforward.

...and you say that with a straight face.

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Steven Erat
If anyone is in Boston on Wednesday, Dec 13, the CEO of Zope Corporation will be presenting an overview of Zope at the Boston Linux and Unix Group at MIT.
http://www.blu.org/cgi-bin/calendar/2003-dec  

-Original Message-
From: Glen Salisbury [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 10:50 AM
To: CF-Talk
Subject: Coldfusion VS Zope (Python) ... HELP!!

Hey everyone.

I've currently been asked by my boss to do a large application in Zope.
(www.zope.org)

We always done Coldfusion but despite the fact that he is not technical,
he's certain that the project we are doing could be built faster in
Zope.  Despite that I've already made a case that Zope market is tiny,
(try doing a job search on it) and that none of the dev team knows Python
(yet).
Does anyone have any pros / cons that are fact based that a case could be
made
either way?

Has anyone here coded in Python? If so which is faster to code in?

Thanks for your input.

- Glen Salisbury
Application Engineer

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Angel Stewart
This sounds fantastic!
Would you be able to write Java applications in Jython (I am assuming
that Python is a lot easier to write than Java code) to run on Cell
Phones?
:-)

 
Where can I get Jython?

 
err...I guess I could Google it...

 
-Gel

-Original Message-
From: Jim Campbell [mailto:[EMAIL PROTECTED] 

Python is a fantastic language - it's up there with ColdFusion for 
general ease-of-coding in my opinion.  If you'd like a very concise and 
well-written introduction, this book, Learning Python by O'Reilly 
(http://www.oreilly.com/catalog/lpython/) is great.

One great thing about Python is the interactive shell - you can invoke 
it from the command line and write scripts interactively without having 
to do the save > compile > run thing.  It's great for learning the 
language, but it's even better for testing modules.

I'm actually using Python and Coldfusion together with a tool called 
Jython - an all-Java implementation of the Python language.  I can 
import any Java class/interface/what have you into my Jython program and

run it as I would any other Python app.  The difference, however, is 
that it's compiled into Java bytecode, and is invokable inside any Java 
application, like, well, ColdFusion.  I've written some simple CFX tags 
in Jython and am currently working on using Jython to help write a Java 
app framework for CFMX to connect to.

You can write web apps in Zope/Python - and once you're familiar with 
the syntax and pecadilloes of Python (tabbing and whitespace are VERY 
important) it's fairly straightforward.

- Jim


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Coldfusion VS Zope (Python) ... HELP!!

2003-10-10 Thread Jim Campbell
Python is a fantastic language - it's up there with ColdFusion for 
general ease-of-coding in my opinion.  If you'd like a very concise and 
well-written introduction, this book, Learning Python by O'Reilly 
(http://www.oreilly.com/catalog/lpython/) is great.

One great thing about Python is the interactive shell - you can invoke 
it from the command line and write scripts interactively without having 
to do the save > compile > run thing.  It's great for learning the 
language, but it's even better for testing modules.

I'm actually using Python and Coldfusion together with a tool called 
Jython - an all-Java implementation of the Python language.  I can 
import any Java class/interface/what have you into my Jython program and 
run it as I would any other Python app.  The difference, however, is 
that it's compiled into Java bytecode, and is invokable inside any Java 
application, like, well, ColdFusion.  I've written some simple CFX tags 
in Jython and am currently working on using Jython to help write a Java 
app framework for CFMX to connect to.

You can write web apps in Zope/Python - and once you're familiar with 
the syntax and pecadilloes of Python (tabbing and whitespace are VERY 
important) it's fairly straightforward.

- Jim

Glen Salisbury wrote:

> Hey everyone.
>
> I've currently been asked by my boss to do a large application in Zope.
> (www.zope.org)
>
> We always done Coldfusion but despite the fact that he is not technical,
> he's certain that the project we are doing could be built faster in
> Zope.  Despite that I've already made a case that Zope market is tiny,
> (try doing a job search on it) and that none of the dev team knows Python
> (yet).
> Does anyone have any pros / cons that are fact based that a case could be
> made
> either way?
>
> Has anyone here coded in Python? If so which is faster to code in?
>
> Thanks for your input.
>
> - Glen Salisbury
> Application Engineer
> 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]