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 recommend something in the
Python world that is comparable.
-Flab
Jul 18 '05
23 2561
Richard Blackwood wrote: <SNIP> To the OP: there are several Python "applicatio n frameworks" which on the surface appear to be similar in goal to Rails. I don't know much about them, and at the moment even their names aren't coming to me, so I can't help more than that. I think a search for "enterprise application framework Python" would probably turn up at least one of them.
Do you mean Zope?
Yikes! I *didn't* mean Zope, as it doesn't qualify for the
term 'enterprise application framework' as I used it above,
but I *should* have meant Zope, because upon revisiting the
rubyonrails.org site, I see that it is a *web* framework.
No idea how I missed that key word. Perhaps the MVC part
grabbed my eyes and filtered the rest of my reading (which
was admittedly brief). Perhaps I was just on drugs. Was
that a Saturday? Yes, it was definitely the drugs. Today
I'm on *different* drugs, the pretty blue ones, and I'm
feeling much furrier, thank you. Down, Shadowfax, down!
Oh, the spiders are crawling up my legs! They're coming
to take me away, away! to the funny farm, where life is
> I've looked a little at Rails. It's not super special. Well, it *is* compared to things like Java; dynamic languages *are* quite superior for rapid development of websites, and Ruby and Python are similar languages in that way.
Rails is really a whole stack that works well together. People have been writing this sort of thing in Python for a long time; which isn't to say they always have gotten it right, or that those efforts have had the right perspective to be strategic successes (i.e., become popular).
I'd have to politely disagree that it's not super special. It
exists, in usable form, today, and works incredibly well and
incredibly cleanly. That's pretty super special, IMO :)
Talk is cheap!
All three of these pieces fit together really well in Rails, which is perhaps what it offers that Python doesn't have. Well, I'm sure some framework out there has this, but it's hard to say, there's so damn many.
I'm not at all sure.
But, while this is really compelling when you show off the creation of a simple system, I suspect it becomes a fair amount more complicated later on. At least, that is my experience with Python projects of similar ambition. It's neat to setup a database and have it work instantly, complete with the standard CRUD forms. But this only works for "leaf" tables, and even then no so well. How do you deal with joins? How do you deal with complex requirements on input, or actions on updates? Eventually you'll need to tweak a generated form just a *little*, does that mean you have to throw away all the automated aspects and code it by hand?
I recommend watching the "2 hour" video at http://www.rubyonrails.org
(watch the last half)
I don't mean to criticize Rails with these questions; it's not that Python frameworks solve these wonderfully either, these are just hard problems. But for realistic web applications these are inevitable issues, and I suspect Rails isn't quite as compelling when you take them into account.
OTOH, I'd love to see something in Python that is just as tight as Rails
Hell yes :)
Thanks for the objective and thoughtful post!
jblaine,
6yr-Python-fanatic-feeling-the-ruby-pull
Jeff Blaine wrote: 6yr-Python-fanatic-feeling-the-ruby-pull
Like I said before - if you're feeling the Ruby pull, go for it. I tried Ruby
and rather strongly disliked it. If, instead, you're feeling the Rails pull (you
feel the ideas behind Rails have merit), then why not just port it to Python?
-Dave
[Jeff Blaine] 6yr-Python-fanatic-feeling-the-ruby-pull
[Dave Brueck] Like I said before - if you're feeling the Ruby pull, go for it. I tried Ruby and rather strongly disliked it. If, instead, you're feeling the Rails pull (you feel the ideas behind Rails have merit), then why not just port it to Python?
Or talk to someone who has already started. Peter Hunt declared to the
web-sig recently that he's interested in developing a python-on-rails,
which would also be WSGI compatible. http://mail.python.org/pipermail/web...er/001042.html
Peter obviously hopes to capitalize on the portability of WSGI
middleware components.
regards,
--
alan kennedy
------------------------------------------------------
email alan: http://xhaus.com/contact/alan This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gary Nutbeam |
last post by:
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...
|
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 language provide over the
other? I would like to consider as many opinions as I can on this matter
before I start studying either language in depth. Any help/comments are
greatly appreciated. Thanks in advance for your help.
|
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..
|
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 has largest community/buzz about it?
|
by: Francois |
last post by:
I discovered Python a few months ago and soon decided to invest time in
learning it well. While surfing the net for Python, I also saw the hype
over Ruby and tried to find out more about it, before I definitely
embarked on studying and practicing Python. I recently found two
sufficient answers for choosing Python - which is a personal choice and
others may differ, but I'd like to share it anyway :
1) In Ruby there is a risk of...
| |
by: Niheel |
last post by:
I've used the following tutorials to help be get a better understanding of Ruby On Rails or ROR.
Installing Ruby on Rails - Fedora / Lighthttpd
Tutorial & Setup for Ruby on Rails
Rolling with Ruby on Rails
Rolling with Ruby on Rails - Part II
Learn to Program with Ruby - by Chris Pine
Programming Ruby - Pragmatic Programmer's Guide
Ruby User's Guide - Mark Slagell
|
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 locally-scoped-together code, in Ruby
a
"block" defines a closure (anonymous function). To avoid confusion
let's call
them Ruby block-closures. I see them as just a syntax for defining
|
by: lawrence k |
last post by:
I work mostly in PHP, but at the web design firm where I work we are
thinking of switching to Ruby on Rails. Our lead designer recently
installed Typo on a client's site and he said to us, with surprise,
"All Ruby On Rails software has the same directory layout?" That was a
revelation to him. He was used to the PHP scene, where diversity is the
rule.
I've done some google searches and I see that the subject has seen a
fair amount of...
|
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 of a friend of mine asked me to take over a project done in
Ruby. (The original programmer appearantly behaved like an @ss and his
client wants to get rid of him.)
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |