r/Python • • Dec 09 '10

new stand-alone web2py database abstraction layer

http://web2py.com/AlterEgo/default/show/272
18 Upvotes

82 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Dec 10 '10

So at what point of domain complexity do you pull the line and split that in a 10-15 file package or multiple packages even?

Why are then all other database abstraction layers I know of split in multiple packages (or equivalents in respective language)?

2

u/mdipierro Dec 10 '10

I split them then the components have a use independently of the whole. In this case they do not.

0

u/[deleted] Dec 10 '10

Then why wasn't web2py one 20 or whatever KLOC file up until now? Since it's only a web framework.

2

u/mdipierro Dec 10 '10

Because the individual web2py modules "have a use independently of the whole" web2py. You may want to import only the dal or only the template system or only the validators.

→ More replies (0)