librelist archives

« back to archive

Flask/Django role in ExtJS application development

Flask/Django role in ExtJS application development

From:
Eko S.Wibowo
Date:
2013-11-03 @ 13:24
Greetings all,

This is my first email to the Flask mailing list.... :)

I am about o develop an application using ExtJS, which I choose as it
has a great and rich UI elements, mimicking a complete set of desktop
application GUI elements. I haven't began the code yet, but skimming
ExtJS a bit, I realise that, it just need a backend to serve its data.
For example, my application will only need to serve a JSON data for
its DataStore element.

Using this thought, I think using Flask in ExtJS application
develoment is much more beneficiary than using Django, as Flask is a
microframework while Django is not. ExtJS already had a fullset of
application complexity that will be doubled if Django is used. Using
Flask in this scenario will fit well, as what I need is just a some
route/view method that served as ExtJS backend.

Do you think my thought process is correct?

Thanks,
Eko

-- 
Eko S. Wibowo
----------------------
http://pythonthusiast.pythonblogs.com/

Re: [flask] Flask/Django role in ExtJS application development

From:
Daniel Fairhead (OMNIvision)
Date:
2013-11-03 @ 17:26
Flask should be fine for this.  You may want to look at flask-restful, 
which has some nice systems for working with REST type APIs in a bit 
more standard way.

I'm using flask for several small projects which basically just have one 
or two HTML views, and mainly everything else via REST/JSON.  (Using 
knockout rather than extjs, though.)

Welcome to Flask!

Dan

On 11/03/2013 01:24 PM, Eko S.Wibowo wrote:
> Greetings all,
>
> This is my first email to the Flask mailing list.... :)
>
> I am about o develop an application using ExtJS, which I choose as it
> has a great and rich UI elements, mimicking a complete set of desktop
> application GUI elements. I haven't began the code yet, but skimming
> ExtJS a bit, I realise that, it just need a backend to serve its data.
> For example, my application will only need to serve a JSON data for
> its DataStore element.
>
> Using this thought, I think using Flask in ExtJS application
> develoment is much more beneficiary than using Django, as Flask is a
> microframework while Django is not. ExtJS already had a fullset of
> application complexity that will be doubled if Django is used. Using
> Flask in this scenario will fit well, as what I need is just a some
> route/view method that served as ExtJS backend.
>
> Do you think my thought process is correct?
>
> Thanks,
> Eko
>

Re: [flask] Flask/Django role in ExtJS application development

From:
Eko S.Wibowo
Date:
2013-11-04 @ 02:21
Thanks Dan!

I will surely look into flask-rest for this. Already glimpse a little, but
not in a great detail.

Re: [flask] Flask/Django role in ExtJS application development

From:
Daniel Fairhead (ict)
Date:
2013-11-04 @ 10:41
Hi Eko,

I've not used Flask-REST, but the one I've used is Flask-RESTful ( 
http://flask-restful.readthedocs.org/en/latest/ and 
https://github.com/twilio/flask-restful/ ) seems a bit more complete and 
better documented.  Anyone else want to comment?

Dan

On 4 Nov 2013, at 02:21, Eko S.Wibowo wrote:


Thanks Dan!

I will surely look into flask-rest for this. Already glimpse a little, but
not in a great detail.


________________________________
OM International Services (Carlisle) Ltd - Unit B Clifford Court, Cooper 
Way - Carlisle CA3 0JG - United Kingdom
Charity reg no: 1112655 - Company reg no: 5649412 (England and Wales)