Is there a way we could share these things (db.py models and modules across 
applications?)

Currently we share databases across applications. IT is a bit tedious to 
copy schema definitions to many applications.


Thanks 

On Sunday, July 28, 2013 1:54:03 AM UTC-7, Massimo Di Pierro wrote:
>
> About your first question you can read Anthony's answer here:
>
> http://stackoverflow.com/questions/17271938/web2py-is-not-starting-with-python-3-0-3-1
>
> Regarding multiple apps/projects web2py is more flexible than Django but 
> we using a different naming convention.
> We call "app" what they call "project" and we call "plugin" when they call 
> "app".
>
> This is not only a semantic difference. In Django (as far as I understand 
> it), for each installation all the apps share one database (that of the 
> project), the session, etc.
>
> In web2py each app has its own database(s), its own session, cache, 
> authentication, users, groups, etc. In web2py different apps can even use 
> different and incompatible versions of the same modules because they share 
> nothing (unless you want them to). 
>
> In web2py you can plug-and-play install as many apps (projects) as you 
> like even if they are written by different people and are not designed to 
> work with each other.
>
> This is one of the main distinctive features of web2py.
>
> Web2py plugins instead go "under" a web2py app and therefore they are 
> closer to a Django app. They are specifically designed to work together and 
> their use may required some programming or configuration.
>
> Hope I make sense.
>
> Massimo
>
>
> On Saturday, 27 July 2013 21:52:55 UTC-5, Oliver wrote:
>>
>> I'm new to python web framework and stumble upon web2py.
>>
>> Will web2py works with python 3.3.2.  
>>
>> also, can I create multiple apps inside a project like in django?  do I 
>> need some additional plugins to hook it up to my existing mysql db?
>>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to