Re: Django vs ExtJS

2015-06-05 Thread Antonio Saponara
Hi
I am developing my REST proxy for Sencha,

I have tested with ExtJS and Sencha Touch frameworks and it does support, 
pagination, remote filters, remote sorting and so on.

It's developed with Zend Framework 2 and can support  different DB types on 
the same installation.

Have a look at:
http://apiskeleton.asaconsult.com/




Il giorno martedì 30 dicembre 2014 14:45:08 UTC+1, Jani Tiainen ha scritto:
>
> On Mon, 29 Dec 2014 06:55:57 -0800 (PST) 
> Joris Benschop > wrote: 
>
> > Hi List, 
> > 
> > I;m a data maangement specialist in a rather large multinational. I'm 
> > trying to push Django as a fast development framework for front-end 
> > applications of our databases. Currently the company is focusing on 
> > Sencha ExtJS and java solutions. Can you help me with pointers why 
> > Django is better? The free-as-in-beer argument is not very convincing 
> > by itself. 
> > 
>
> I'll give my late insight here. We're having rather large SPA's built 
> on top of ExtJS + Django and REST rather successfully. 
>
> Of course ExtJS and REST is really a joke - there is nothing that 
> really proper rest support in ExtJS, (no HATEOAS at all) 
>
> For a Django side REST tool we've been using DRF 
> (Django-Rest-Framework) which big gun for REST api. 
>
> Now why we picked Django over several others - We tried PHP, we 
> used Java for few web apps (and it's still in use). First reason was 
> the speed. We could implement features much faster with Python and 
> Django than we ever could do with Java (we did similiar apps with Java 
> as well but pace was definitely slower). Specially getting things 
> done within a reasonable time. Also lot of boilerplate code was 
> unnecessary. In Java we had really carefully plan every attribute and 
> getters and setters. Python makes lot of shortcuts there and it's much 
> more easier to do "magic". Though there lies a danger - you can write 
> Python code as Java (or even like C code) and that is not pretty 
> sight... 
>
> Another reason was level of complexity - even simplest Java app 
> (deployed on Tomcat) takes lot of efforts and "special" knowledge, not 
> to mention that you have to match versions you build with java versions 
> and complex configuration. Python is much more forgiving in those parts. 
>
> Of course we've ran a few issues on the road, like composite keys and 
> some "oo" features of Django ORM that were possible with Hibernate. 
>
> So current main setup in our development stack is Python (2.7), Django 
> (1.5), Oracle (10g and 11g), ExtJS (4.3), Dojotoolkit (1.6), OpenLayers 
> (2.x) and mapserver (6.x) 
>
> -- 
>
> Jani Tiainen 
>
> -- 
>
> Jani Tiainen 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a7fdfc7c-2797-4aa4-8443-e5b5dc1caef0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django vs ExtJS

2015-06-08 Thread Antonio Saponara
ExtJS is a REST *client* wich uses  basic CRUD calls to obtain great 
results with *few lines of code*!

It supports CRUD, pagination, sorting and filtering out of the box! Please 
respect also the 2nd class citizen :-|

Django-rest-framework of course is  server-side so it is incomparable! It 
does a lot of things exactly like many other frameworks. The real point is 
that you, as a programmer appreciate django for features, reliability, and 
many other aspects, but your customers needs to see other things like 
available developers, competitors, references etc etc

I'd love to see django do the same thing i have done with my Zend proxy. 
Manage a table's crud created in realtime with zero added code!

I mean, you configure the db connection, and every REST calls will manage 
EVERY table in selected db via CRUD calls, automatically. 
Without configuring table, keys, fields and so on.

This can be a great way to  scaffold a prototype really fast!

Once you are at an advanced stage, you can simply change the REST pointers 
to a more advanced rest-server ;-)



Il giorno lunedì 8 giugno 2015 13:23:18 UTC+2, Jani Tiainen ha scritto:
>
> Hi, 
>
> I've been working with relatively large (GIS) apps that do use ExtJS and 
> Django. 
>
> What comes to ExtJS and it's "REST" that is pure joke. It's not even close 
> what REST should be. There is even long standing thread on ExtJS forums 
> about having better support for REST but I guess it's totally 2nd class 
> citizen in ExtJS world. But we chose ExtJS because it's components, 
> specially grids and trees are pretty much best you can get for the money. 
>
> And as ExtJS is purely Javascript framework it doesn't have anything to do 
> with actually Django, which is server side Web framework, written with 
> Python. 
>
> What comes to Django it's development speed. You can evaluate and iterate 
> development much faster in Django than in Java (at least in my experience). 
> With development server just change something, go browser and refresh. With 
> django-rest-framework (the big gun for REST apis in Django) you can even 
> develop rest services without having special frontend for that - drf 
> provides nice html API tool that makes developing (and even testing) faster 
> - while you're building and testing your API you can have your frontend 
> devs to do that. 
>
> And that's where Django and Python excels. Also Django has rather 
> extensive set of tools that are crafted to work with web and database. ORM, 
> Admin (which is valuable tool while developing), basic user system, 
> authentication and authorization, permissions, form handling and data 
> validation, and much more. 
>
>
>
> On Mon, 29 Dec 2014 06:55:57 -0800 (PST) 
> Joris Benschop > wrote: 
>
> > Hi List, 
> > 
> > I;m a data maangement specialist in a rather large multinational. I'm 
> > trying to push Django as a fast development framework for front-end 
> > applications of our databases. Currently the company is focusing on 
> Sencha 
> > ExtJS and java solutions. Can you help me with pointers why Django is 
> > better? The free-as-in-beer argument is not very convincing by itself. 
> > 
> > Thanks 
> > Joris 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to django-users...@googlegroups.com . 
> > To post to this group, send email to django...@googlegroups.com 
> . 
> > Visit this group at http://groups.google.com/group/django-users. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/53e17853-9922-4f77-bf9a-4cea7d35ade3%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
> -- 
> Jani Tiainen 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f0902f6a-ddc0-4671-86a1-1964cf7d9972%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.