473,804 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ruby on rails ... python on ?

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
On Sun, 31 Oct 2004 08:48:51 -0500, Peter Hansen <pe***@engcorp. com> wrote:
Josiah Carlson wrote:
You'll notice a project linked from the RubyOnRails site: Basecamp
(www.basecamphq.com), which looks quite spiffy.


Spiffy indeed!

It would have to be, to warrant
http://www.basecamphq.com/terms.html
;-)

Regards,
Bengt Richter
Jul 18 '05 #11
On Sun, 31 Oct 2004 11:43:39 -0700,
flab ba <fl**@large.net > wrote:
I'm not a graphics designer, but I need more spiffyness than the MEMS web
site - which is done in Quixote.


The line about graphic design is there because PTL will be alien to graphic
designers, so if your HTML is very elaborate and requires lots of tweaking,
your standard HTML author will be confused. However, in lots of cases you
can just write plain vanilla HTML, being sure to put DIV elements and ID
attributes in the right places, and then style the pages with CSS. Quixote
is betting that pure HTML + CSS is the way of the future.

(I don't like the current MX style sheet either, but that's nothing to
do with Quixote.)

--amk
Jul 18 '05 #12
<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.

-Peter


Do you mean Zope?
Jul 18 '05 #13
Josiah Carlson wrote:
flab ba <fl**@large.net > wrote:

On Sun, 31 Oct 2004 01:24:31 -0700, Josiah Carlson wrote:
You'll notice a project linked from the RubyOnRails site: Basecamp
(www.basecamphq.com), which looks quite spiffy.

- Josiah

You're right - that web site does look quite spiffy. I was deciding on
Quixote for my web app framework, but even the author claims that it isn't
the right framework if you think a website is a graphics design problem.

I'm not a graphics designer, but I need more spiffyness than the MEMS web
site - which is done in Quixote.


I have no experience with any web development frameworks, so have little
to say in regards to them. I hope that Quixote, or whichever framework
you choose, ends up being the right choice for you.

- Josiah

ZOPE!!!
Jul 18 '05 #14
A.M. Kuchling <am*@amk.ca> wrote:
...
can just write plain vanilla HTML, being sure to put DIV elements and ID
attributes in the right places, and then style the pages with CSS. Quixote
is betting that pure HTML + CSS is the way of the future.


Sounds like a pretty safe bet to me, in general terms. I'm not quite
sure how fully a 'plain vanilla HTML' page can be controlled,
looks-wise, with CSS only, but no doubt as generations of CSS succeed
each other the trend is up (though I don't think it's asymptotically
going to 100%, but that's a different issue;-).
Alex
Jul 18 '05 #15
Alex Martelli wrote:
A.M. Kuchling <am*@amk.ca> wrote:
...
can just write plain vanilla HTML, being sure to put DIV elements and ID
attributes in the right places, and then style the pages with CSS. Quixote
is betting that pure HTML + CSS is the way of the future.

Sounds like a pretty safe bet to me, in general terms. I'm not quite
sure how fully a 'plain vanilla HTML' page can be controlled,
looks-wise, with CSS only, but no doubt as generations of CSS succeed
each other the trend is up (though I don't think it's asymptotically
going to 100%, but that's a different issue;-).
Alex


If you take a look at the Zen garden (http://csszengarden.com/) you will
realize that Quixote's bet is probably a good one. I was pleasantly
surprised how the recent re-work of www.holdenweb.com made the
programming for the site (it's static HTML produced from a database)
much less dependent on look-and-feel issues thanks to input from a good
designer.

regards
Steve
--
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
Jul 18 '05 #16
flab ba wrote:
/also/ familiar with Rails - and if they could recommend something in the
Python world that is comparable.


yeah, zope.

It is so good it does not even look like python on the
surface ... one of the biggest mistakes in developing
web-frameworks is over-emphasizing the underlying
programming language.

A good web-framework should not look like
Ruby or Python, that is not what these languages were
designed for.

Of course the framework should allow easy access to
any class or module written in these languages, but
in the end the most important things are the services
that promote collaboration, allow a finely grained access
control by various means, create a self contained solutions
that can be easily deployed replicated or backed up.
Web frameworks must do the hardest thing of all,
support radically changing requirements.

These overly "programmat ic" frameworks revolve around a single
person's ability to understand all aspects of the website,
and crash and burn when that person is not around anymore.

Istvan.

Jul 18 '05 #17
flab ba wrote:
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.


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).

Lessee... Rails seems to have:

* A simple object publisher. There's a ton of these in Python. It also
perhaps includes some sort of MVC system, where the object picks up a
template automatically if it exists. These exist as well, though I
think MVC efforts can become overly ambitious or overly restrictive
fairly easily.

* An object-relational mapper. I'd say this is close to SQLObject,
though SQLObject is in some ways more powerful.

* A templating system. Looks like ASP. There's lots of templating
languages in Python; the simplest (e.g., embed Python code) can be
problematic because of Python's significant whitespace. But anyway, we
have lots and lots of these, and there are real reasons for why there's
multiple templating languages. Spyce is probably the closest to Rails.
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.

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 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, but uses all the pieces we've already developed. It's really
just a question of sticking pieces together; but that's a surprisingly
difficult operation.

--
Ian Bicking / ia**@colorstudy .com / http://blog.ianbicking.org
Jul 18 '05 #18
> yeah, zope.

It is so good it does not even look like python on the
surface ... one of the biggest mistakes in developing
web-frameworks is over-emphasizing the underlying
programming language.

A good web-framework should not look like
Ruby or Python, that is not what these languages were
designed for.


Why do you say that? I could agree if Zope could be programmed in many
languages. Then not tending to any language would be a benefit. On the
contrary, I see things like ZODB making things that are not Pythonic,
look Pythonic and that is considered a good feature.

A Python only framework not feeling like Python was a deterrent for me
to learn Zope well.
Jul 18 '05 #19
Ian Bicking <ia**@colorstud y.com> wrote:
OTOH, I'd love to see something in Python that is just as tight as
Rails, but uses all the pieces we've already developed. It's really
just a question of sticking pieces together; but that's a surprisingly
difficult operation.


I don't know why that would be surprising. Integration has *always*
been one of the hardest parts of putting a large system together, so
when the parts weren't designed to fit each other in the forst place...

--
One Zone to rule them all, One Zone to find them,
One Zone to name them all and in the domain bind them,
In the Land of DotCom where the Spammers lie.
Jul 18 '05 #20

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

Similar topics

12
2631
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...
65
5553
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.
5
2349
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
7929
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?
22
2720
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...
9
21091
Niheel
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
26
2736
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
10
3801
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...
9
2323
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.)
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10600
Oralloy
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...
0
10350
jinu1996
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...
1
10351
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,...
0
10096
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9174
agi2029
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...
0
6866
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.