Let me thank all of you who took part in this discussion.
I'm glad that I put my remarks about Pylons and related components
here. I gained some new knowledge and updated existing one.
Thanks :) and see you around..
T.
--
_i__'simplicity_is_the_key'__tomasz_nazar
--
_i__'simplicity_is_the_key'__tomasz_nazar
_ii'i_am_concern_oriented'JKM-UPR
_iii__'patsystem.sf.net'___linux_user
_'aspectized.com'___prevayler
--~--~-~--~~~---~--~~
You received this
On Thu, Oct 16, 2008 at 2:08 AM, Mike Orr [EMAIL PROTECTED] wrote:
On Wed, Oct 15, 2008 at 4:35 PM, Tomasz Nazar [EMAIL PROTECTED] wrote:
On Tue, Oct 14, 2008 at 5:20 AM, Michael Bayer [EMAIL PROTECTED] wrote:
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
1) all model classes
wrt to organizing the model into different files, I've changed the
scheme that's is autogenerated in 0.9.7rc2.
My __init__.py looks like
##
from sqlalchemy import MetaData
from sqlalchemy.orm import scoped_session, sessionmaker
engine = None
meta = MetaData()
def
On Thu, Oct 16, 2008 at 2:41 PM, cropr [EMAIL PROTECTED] wrote:
wrt to organizing the model into different files, I've changed the
scheme that's is autogenerated in 0.9.7rc2.
My __init__.py looks like
##
from sqlalchemy import MetaData
from sqlalchemy.orm import
On Thu, Oct 16, 2008 at 8:02 AM, Tomasz Nazar [EMAIL PROTECTED] wrote:
I wouldn't mind to also have table + mapping inside a file with class.
But there are some issues with mapping using 'autoload' - engine does
not exist yet. Isn't it?
You can't do autoloading or map to an autoloaded table
On Thu, Oct 16, 2008 at 4:12 AM, Tomasz Nazar [EMAIL PROTECTED] wrote:
OK. I have clean Pylons 0.9.6.2 app working with 3 classes into
separate modules.
Works with MySql. Sqlite seems not to store objects (code the same,
just exchanging sqlalchemy.url). Why?
That's not something we can
On Thu, Oct 16, 2008 at 8:55 PM, Mike Orr [EMAIL PROTECTED] wrote:
On Thu, Oct 16, 2008 at 4:12 AM, Tomasz Nazar [EMAIL PROTECTED] wrote:
Cyclic dependencies do not work just that simple. Cyclic imports
unfortunately have to placed inside a method - not at the top of
module.
Importing in a
On Oct 16, 2:13 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
On Thu, Oct 16, 2008 at 8:55 PM, Mike Orr [EMAIL PROTECTED] wrote:
On Thu, Oct 16, 2008 at 4:12 AM, Tomasz Nazar [EMAIL PROTECTED] wrote:
Cyclic dependencies do not work just that simple. Cyclic imports
unfortunately have to placed
On Wed, Oct 15, 2008 at 2:11 PM, Mike Orr [EMAIL PROTECTED] wrote:
On Wed, Oct 15, 2008 at 10:25 AM, Jorge Vargas [EMAIL PROTECTED] wrote:
On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr [EMAIL PROTECTED] wrote:
On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar [EMAIL PROTECTED] wrote:
Is reason
Thanks for such detailed answer Michael.
On Tue, Oct 14, 2008 at 5:20 AM, Michael Bayer [EMAIL PROTECTED] wrote:
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
2) SQLAlchemy 2nd level cache
That is most frustrating for me coming from Hibernate, where it's
built in. You may
On Oct 15, 7:40 am, Tomasz Nazar [EMAIL PROTECTED] wrote:
Also code would be a lot simpler:
confs = dbsession().query(Conference).filter(XXX).all()
%for conf in confs:
${conf} ${conf.author} ${conf.author.phone} etc...
It's that simple with cache being used.
Without that...
W liście Tomasz Nazar z dnia środa 15 października 2008:
I started to play with SQLa joins and 'add_entity' feature lately, so
if I would get all objects in one query that would be not so bad.
However, to do that one needs to learn SQLa query language a lot, and
build some advanced queries
On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr [EMAIL PROTECTED] wrote:
On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar [EMAIL PROTECTED] wrote:
Hi there!
I've been a Pylons user for more than a year already. Few other people
in the neighbourhood ask me for Pylons advantages often, so I also
On Wed, Oct 15, 2008 at 10:25 AM, Jorge Vargas [EMAIL PROTECTED] wrote:
On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr [EMAIL PROTECTED] wrote:
On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar [EMAIL PROTECTED] wrote:
Is reason other than problems with pure Python imports (which don't
work well
On Tue, Oct 14, 2008 at 5:20 AM, Michael Bayer [EMAIL PROTECTED] wrote:
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
1) all model classes are defined in 1 file together with database mapping
like everyone is saying, you can roll this however you want and
however is
On Wed, Oct 15, 2008 at 4:35 PM, Tomasz Nazar [EMAIL PROTECTED] wrote:
On Tue, Oct 14, 2008 at 5:20 AM, Michael Bayer [EMAIL PROTECTED] wrote:
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
1) all model classes are defined in 1 file together with database mapping
like everyone
Here goes:
1) all model classes are defined in 1 file together with database mapping
For this particular gripe I think you're a little off-base. This is all
personal preference, and the bigger your model gets, the better off you are
breaking it up. Google around a bit and you'll find a few
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
Hi there!
I've been a Pylons user for more than a year already. Few other people
in the neighbourhood ask me for Pylons advantages often, so I also
talk about Pylons disadvantages also.
Here I'd like to point out some of them and
Thanks both of you for answers...
On Mon, Oct 13, 2008 at 7:39 PM, Wayne Witzel [EMAIL PROTECTED] wrote:
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
Hi there!
1) all model classes are defined in 1 file together with database mapping
That is 2nd most frustrating on my daily
On Oct 13, 5:33 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
Thanks both of you for answers...
On Mon, Oct 13, 2008 at 7:39 PM, Wayne Witzel [EMAIL PROTECTED] wrote:
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
Hi there!
1) all model classes are defined in 1 file together
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
1) all model classes are defined in 1 file together with database mapping
like everyone is saying, you can roll this however you want and
however is appropriate to the type of app you're building.
2) SQLAlchemy 2nd level cache
On Oct 13, 9:54 pm, Wayne Witzel [EMAIL PROTECTED] wrote:
OK. Back to your code? What is this MemCachedMapper.. google 2 hits
only. Is it your own solution, does it work, can you share?
Not my solution, was a solution presented a while back on the SA
mailing list.
On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar [EMAIL PROTECTED] wrote:
Hi there!
I've been a Pylons user for more than a year already. Few other people
in the neighbourhood ask me for Pylons advantages often, so I also
talk about Pylons disadvantages also.
Here I'd like to point out some
24 matches
Mail list logo