Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Database access pattern
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Malthe Borch  
View profile  
 More options Jun 6 2012, 5:51 am
From: Malthe Borch <mbo...@gmail.com>
Date: Wed, 6 Jun 2012 11:51:11 +0200
Local: Wed, Jun 6 2012 5:51 am
Subject: Re: Database access pattern
http://docs.sqlalchemy.org/en/latest/orm/tutorial.html

That's assuming you're using SQL.

\malthe

On 6 June 2012 09:50, tanshu <tan...@gmail.com> wrote:

> Hi,
> I am sorry if this has been asked before, but I couldn't find the answer
> anywhere.  I am relatively new to python / pyramid and have developed a few
> test programs.  I come from a C# background and could not figure out what
> the best pattern is to lay out database access.

> In C# etc, you create separate dal classes and go with n-tier architecture,
> should I just the validation, save, update in the controller in pyramid or
> create separate classes.  Any help will be gratefully appreciated.

> Thanks in advance. :)

> tanshu

> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/5-_3loZtH5wJ.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-discuss+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.