473,372 Members | 1,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

Ruby on Rails or Perl's Maypole..is there a Python equivalent

I've noticed that the Perl camp has a very nice web/database environment
called Maypole. Ruby has the Rails environment which on the surface seems
similar to Maypole. I can't find anything in Python that ties a database
to a web interface anywhere near as well as Ruby on Rails or Maypole.

I see the behemoth Zope having the best web/database integration, but
unfortunately I don't want to spent weeks writing xml for the interface.

Does anyone know of something similar to Rails or Maypole in Python?

Thanks.
Jul 18 '05 #1
12 2583
Gary Nutbeam wrote:
(...)
Does anyone know of something similar to Rails or Maypole in Python?


you may want to take a look at subway:
<http://subway.python-hosting.com/>

it glues together cherrypy2, sqlobject
and cheetah using an MVC approach.

HTH,
deelan.

Jul 18 '05 #2
Two out of three on the home made approach I was thinking about.

Quixote, Cheetah and SQLObject.

Thanks for the link. I'm perusing it now.

deelan wrote:
Gary Nutbeam wrote:
(...)
Does anyone know of something similar to Rails or Maypole in Python?


you may want to take a look at subway:
<http://subway.python-hosting.com/>

it glues together cherrypy2, sqlobject
and cheetah using an MVC approach.

HTH,
deelan.


Jul 18 '05 #3
Gary Nutbeam a écrit :
I've noticed that the Perl camp has a very nice web/database environment
called Maypole. Ruby has the Rails environment which on the surface seems
similar to Maypole. I can't find anything in Python that ties a database
to a web interface anywhere near as well as Ruby on Rails or Maypole.

I see the behemoth Zope having the best web/database integration, but
unfortunately I don't want to spent weeks writing xml for the interface.


Is this a troll ? I wrote several Zope apps, and I don't remember having
written a single ligne of xml. Unless you count ZPT for XML ?
Jul 18 '05 #4
D H
Gary Nutbeam wrote:
I've noticed that the Perl camp has a very nice web/database environment
called Maypole. Ruby has the Rails environment which on the surface seems
similar to Maypole. I can't find anything in Python that ties a database
to a web interface anywhere near as well as Ruby on Rails or Maypole.

I see the behemoth Zope having the best web/database integration, but
unfortunately I don't want to spent weeks writing xml for the interface.

Does anyone know of something similar to Rails or Maypole in Python?

Check out Castle on Rails for .NET/Mono. It is still in early
development, but you can use it with C#, VB, or boo, and I'm sure
eventually with IronPython as well.
Jul 18 '05 #5
I count zpt as xml because page templates can operate in html or xml mode.
This is not a troll. It is a lot of work in Zope to create interfaces to
relational data for anything more than simple data models.

It's a lot less work in Maypole or Rails, but I don't want to go back to
writing in Perl, or needing to learn Ruby.

I do like Formulator but the documentation on it is weak. I don't want to
have to go rooting around in the source code or spending hours on weeding
through mailing lists for answers. I still have to screw around and glue
formulator to the data with python, zpt, and zsql methods. Archetypes seems
a lot closer to a fix, but there are problems with SQLStorage representing
anything more than simple relationships reliably.

It would be nice to have an object database that is ACID compliant.

Bruno Desthuilliers wrote:
<snip>

Is this a troll ? I wrote several Zope apps, and I don't remember having
written a single ligne of xml. Unless you count ZPT for XML ?


Jul 18 '05 #6
Thanks for the feedback. I should have been more specific though and
mentioned this has done on Linux (client and server).

D H wrote:
Gary Nutbeam wrote:
I've noticed that the Perl camp has a very nice web/database environment
called Maypole. Ruby has the Rails environment which on the surface seems
similar to Maypole. I can't find anything in Python that ties a database
to a web interface anywhere near as well as Ruby on Rails or Maypole.

I see the behemoth Zope having the best web/database integration, but
unfortunately I don't want to spent weeks writing xml for the interface.

Does anyone know of something similar to Rails or Maypole in Python?

Check out Castle on Rails for .NET/Mono. It is still in early
development, but you can use it with C#, VB, or boo, and I'm sure
eventually with IronPython as well.


Jul 18 '05 #7
Gary Nutbeam wrote:
I count zpt as xml because page templates can operate in html or xml mode.
This is not a troll. It is a lot of work in Zope to create interfaces to
relational data for anything more than simple data models.

It's a lot less work in Maypole or Rails, but I don't want to go back to
writing in Perl, or needing to learn Ruby.

I do like Formulator but the documentation on it is weak. I don't want to
have to go rooting around in the source code or spending hours on weeding
through mailing lists for answers. I still have to screw around and glue
formulator to the data with python, zpt, and zsql methods. Archetypes seems
a lot closer to a fix, but there are problems with SQLStorage representing
anything more than simple relationships reliably.

It would be nice to have an object database that is ACID compliant.

Have you looked at Caché? You can download a fully-functional version to
play with, though it's got a fairly steep learning curve for
non-relational use:

http://www.intersystems.com/cache/
InterSystems Caché: Post-relational Database

regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
Jul 18 '05 #8
Gary Nutbeam wrote:
I count zpt as xml because page templates can operate in html or xml mode.
I can understand this, but from a practical POV, ZPT are mainly (x)html
templates. A valid (x)html page is a valid ZPT too. This has nothing in
common with the hundreds of complicated XML conf files needed by most
J2EE app servers.
This is not a troll. It is a lot of work in Zope to create interfaces to
relational data for anything more than simple data models.

It's a lot less work in Maypole or Rails,
I've never worked with any of them, so I can't tell. It's also true that
most of what I've done with Zope so far relies mostly on the ZODB, RDBMS
connections being merely used as a bridge to share data with other
systems. Still, I didn't have any problem with Zope/RDBMS integration so
far.
but I don't want to go back to
writing in Perl,
!-)
or needing to learn Ruby.


A nice language, but yes, there can be practical reasons to stick with
Python.

(snip)

--
bruno desthuilliers
ruby -e "print 'o****@xiludom.gro'.split('@').collect{|p|
p.split('.').collect{|w| w.reverse}.join('.')}.join('@')"
Jul 18 '05 #9
Gary Nutbeam <gn******@yahoo.com> writes:
D H wrote:

[...]
Check out Castle on Rails for .NET/Mono. It is still in early
development, but you can use it with C#, VB, or boo, and I'm sure
eventually with IronPython as well.


Thanks for the feedback. I should have been more specific though and
mentioned this has done on Linux (client and server).


Mono runs on Linux.
John
Jul 18 '05 #10
Gary Nutbeam wrote:
needing to learn Ruby.


But why wouldn't you just use Rails and learn Ruby in the process? The
"effort" required to learn Ruby pales in comparisson to the advantages
using Ruby on Rails might give you, imho.

Ruby is an excellent language, not much different from Python with its
own set of advantages and problems (I really mis python's white-space
indentation for example, but that is fully compensated by Ruby's nice
OOP features). With a book like "Programming Ruby" you would be up to
speed in a few days.

Rails gives you much more than a comparable set of Python libraries
which are gobled together with sticky tape. It provides you not just
with an superbly integrated and consistent set of components. Rails
gives you:
- (real) automation (take a look at scaffolding for quick prototyping)
- terrific documentation (the videos are *not* a gimmick, for example)
- an enthousiastic, supportive user community (that alone is an
incredible help and time saver)

have fun,

Iwan

Jul 18 '05 #11
John J. Lee wrote:
I know mono runs on linux but I want nothing to do with it unless absolutely
necessary.
Gary Nutbeam <gn******@yahoo.com> writes:
D H wrote:

[...]
> Check out Castle on Rails for .NET/Mono. It is still in early
> development, but you can use it with C#, VB, or boo, and I'm sure
> eventually with IronPython as well.


Thanks for the feedback. I should have been more specific though and
mentioned this has done on Linux (client and server).


Mono runs on Linux.
John


Jul 18 '05 #12
Learning Ruby to use Rails is tempting.

Iwan van der Kleyn wrote:
Gary Nutbeam wrote:
needing to learn Ruby.


But why wouldn't you just use Rails and learn Ruby in the process? The
"effort" required to learn Ruby pales in comparisson to the advantages
using Ruby on Rails might give you, imho.

Ruby is an excellent language, not much different from Python with its
own set of advantages and problems (I really mis python's white-space
indentation for example, but that is fully compensated by Ruby's nice
OOP features). With a book like "Programming Ruby" you would be up to
speed in a few days.

Rails gives you much more than a comparable set of Python libraries
which are gobled together with sticky tape. It provides you not just
with an superbly integrated and consistent set of components. Rails
gives you:
- (real) automation (take a look at scaffolding for quick prototyping)
- terrific documentation (the videos are *not* a gimmick, for example)
- an enthousiastic, supportive user community (that alone is an
incredible help and time saver)

have fun,

Iwan


Jul 18 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

54
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO...
13
by: Wayne Folta | last post by:
I've been a long-time Perl programmer, though I've not used a boatload of packages nor much of the tacky OO. A couple of years ago, I decided to look into Python and Ruby. Python looked OK, but...
30
by: Christian Seberino | last post by:
How does Ruby compare to Python?? How good is DESIGN of Ruby compared to Python? Python's design is godly. I'm wondering if Ruby's is godly too. I've heard it has solid OOP design but then...
23
by: flab ba | last post by:
The pragmatic programmers (Dave & Andy) are spreading a good word about RubyOnRails. I was wondering if there are any Python programmers who are /also/ familiar with Rails - and if they could...
65
by: Amol Vaidya | last post by:
Hi. I am interested in learning a new programming language, and have been debating whether to learn Ruby or Python. How do these compare and contrast with one another, and what advantages does one...
5
by: Matias | last post by:
I'm not asking if it's better or not than php... I want to know the opinions of web developers about this new toy... Byee..
122
by: seberino | last post by:
I'm interested in knowing which Python web framework is most like Ruby on Rails. I've heard of Subway and Django. Are there other Rails clones in Python land I don't know about? Which one...
26
by: brenocon | last post by:
Hi all -- Compared to the Python I know and love, Ruby isn't quite the same. However, it has at least one terrific feature: "blocks". Whereas in Python a "block" is just several lines of...
9
by: Erwin Moller | last post by:
Hi Group, This may seem a odd question in a PHP group, but I think this might be a good place to ask since I am mainly a PHP coder these days that maybe starts with Ruby. Situation: A client...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.