orm is abstraction over database query language. you can make queries
in oo-terms. so your business logic stays clear and you dont care
about object persistence.

also with orm you can change backend (from MySQL to Postgre for ex.)
just
by edit config. if you work with native sql its not always possible.

On Jan 22, 12:56 pm, Kevin Baker <[EMAIL PROTECTED]> wrote:
> I am new to Pylons. I love Mako, Routes and the View Controller
> concepts behind Pylons.
>
> I am a little unsure of the Model concepts though, and how tightly
> they are bound to SQLAlchemy.
>
> In general it seems like a lot of configuration to make simple SQL
> queries.
>
> Is there a reason I couldn't just create a simple model that uses a db
> connection string from the developer.ini conf file and then just make
> direct queries?
>
> I'm sure there is something I'm missing.
>
> Thanks tons,
>
> - Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to