On 11/08/2014 01:46 AM, Aliane Abdelouahab wrote:
> - Django 1.7 has the features people always waited it, the the 'migrate'
> which allows you to change your schema and let Django rédapate it :)
In my project, all the core logic and database queries (using sqlalchemy
) are in a different rpc based service written in twisted.
I don't need the model part of Django, just the views to get or send
data to the rpc service called the core_engine and get data from there
and send to dum html templates.
> - the orm is independant, you can directly write raw sql if you want, the
> orm has been made for people who are not made to learn sql again, and to
> stay in object programming.
Again as I mentioned, I don't need to think about databses or models at
all, I just need to do the frontend logic here, it will have very
minimal processing in views and of course templates will make good use
of AJAX and JSON.
> - for python 2.7 i think all tutorials make it to work on 2.x because not
> all the packages have migrated to python 3 (i talk about third parties),
> the difference in tutorials, is about using the unicode .
>
Can you give me one example where the difference will be obvious?
If the syntax from the official 1.7 tutorial can work with Python 2.7
out of the box, then I will hav no issues lerning directly with version 1.7.
I just wish to only elaborate the fact that I only need to use the views
as the middle layer between the templates on one side (the client facing
side ) and the logic in a Python based core_engine written in xmlrpc.
If I am not loosing out the ease by which templates can be built using
Django and some libraries like krispy-forms then I am more than happy.
I would ideally love to have integrated libraries generate good deal of
css for me to make forms look good and be accessible.
Happy hacking.
Krishnakant.