List Info

Thread: the killer Cherrypy library...




the killer Cherrypy library...
country flaguser name
United States
2007-09-06 07:51:29
Hi,

Can I ask for your opinions about Flex?

After reading http://www.artima.com/weblogs/viewpost.jsp?thread=208528

, I was really enthusiastic about using Adobe Flex as a
front end for
Cherrypy. It seems that you get a great development
environment for
creating the frontend, and a nicer way to do effects and
data
processing than ajax. Although proprietry, the flex sdk is
free, and
has the benefit of using AMF3 as the transport protocol
(see
http://www.jamesward
.org/census/ for an example, and relative speeds
of json, xml amf protocols).

And now it seems that django is getting Flex support:
http://djangoamf.sourceforge.jp/index.php?UserManual_en . But it seems
to me that django is trying to squeeze too many things into
their
framework. I think that just cherrypy, together with
sqlalchemy and
flex would be the ultimate in rapid wed application
development; a
very flexible and professional looking frontend thats easier
to
develop that javascript, and a very very flexible all python
backend.
All it needs is a simple library to wrap up the whole amf3
thing for
cherrypy...

Or is that a stupid idea? Im still a n00b with this whole
internet
thing...

dave


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: the killer Cherrypy library...
user name
2007-09-06 08:37:04
On 9/6/07, Dr Mephesto <dnhknggooglemail.com> wrote:
> After reading http://www.artima.com/weblogs/viewpost.jsp?thread=208528

> , I was really enthusiastic about using Adobe Flex as a
front end for
> Cherrypy. It seems that you get a great development
environment for
> creating the frontend, and a nicer way to do effects
and data
> processing than ajax. Although proprietry, the flex sdk
is free, and
> has the benefit of using AMF3 as the transport protocol
(see
> http://www.jamesward
.org/census/ for an example, and relative speeds
> of json, xml amf protocols).
>
> And now it seems that django is getting Flex support:
> http://djangoamf.sourceforge.jp/index.php?UserManual_en . But it seems
> to me that django is trying to squeeze too many things
into their
> framework. I think that just cherrypy, together with
sqlalchemy and
> flex would be the ultimate in rapid wed application
development; a
> very flexible and professional looking frontend thats
easier to
> develop that javascript, and a very very flexible all
python backend.
> All it needs is a simple library to wrap up the whole
amf3 thing for
> cherrypy...

Yes, I have looked somewhat into this. Flex is a nice
platform for GUI
building and they provide excellent tools (FlexBuilder).
Only drawback
is that it's closed-source and proprietary, but if that
doesn't bother
you - it's a great platform I think.

Using it against CherryPy rather than Django makes perfect
sense if
you aren't using Django already. What you need is an AMF
encoder
(similar to JSON encoders that we have already).

For Python, this exists in several places in
"partial"
implementations. DjangoAMF is one, Flashtickle [1] by Bob
Ippolito is
another.

A third one is included in rtmpy [2], which is a project I'm
involved
in and is meant to implement the RTMP protocol and related
concepts in
Twisted. Unfortunately I have lacked time to work on it and
there are
few Python developers around who show interest :(

Flashtickle is outdated and Bob has issued that he will not
maintain
it. The DjangoAMF version I disliked for various reasons
(YMMV).

One of the first things we need to do in RTMPy is AMF
support, and AMF
decoding is mostly complete. Encoding however... not so much
 You
can have a look at it, the general idea is there and it's
heavily
based on SabrAMF, an AMF implementation for PHP.

If you're interested, the rtmpy project needs someone to
write up the
AMF encoder. A complete AMF codec would be exactly what you
need to
communicate between Flex and CherryPy.

[1] http://undefi
ned.org/python/#flashticle
[2] http://dev.collab.com/rt
mpy/

Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: the killer Cherrypy library...
country flaguser name
United States
2007-09-07 10:20:28
 Cant you just use JSON to comunicate at certain level with
FLEX?

 And think Flex is open source, or there are plans:
  http://labs.adobe.com/wiki/index.php/Flex:Open_Source

 They should open the eclipse based builder, so they can
attract
more
 developers.

 Mario

On Sep 6, 6:37 am, "Arnar Birgisson"
<arna...gmail.com> wrote:
> On 9/6/07, Dr Mephesto <dnh...googlemail.com> wrote:
>
>
>
> > After readinghttp://www.artima.com/weblogs/viewpost.jsp?thread=208528

> > , I was really enthusiastic about using Adobe Flex
as a front end for
> > Cherrypy. It seems that you get a great
development environment for
> > creating the frontend, and a nicer way to do
effects and data
> > processing than ajax. Although proprietry, the
flex sdk is free, and
> > has the benefit of using AMF3 as the transport
protocol (see
> >http://www.jamesw
ard.org/census/for an example, and relative speeds
> > of json, xml amf protocols).
>
> > And now it seems that django is getting Flex
support:
> >http://djangoamf.sourceforge.jp/index.php?UserManual_en.
 But it seems
> > to me that django is trying to squeeze too many
things into their
> > framework. I think that just cherrypy, together
with sqlalchemy and
> > flex would be the ultimate in rapid wed
application development; a
> > very flexible and professional looking frontend
thats easier to
> > develop that javascript, and a very very flexible
all python backend.
> > All it needs is a simple library to wrap up the
whole amf3 thing for
> > cherrypy...
>
> Yes, I have looked somewhat into this. Flex is a nice
platform for GUI
> building and they provide excellent tools
(FlexBuilder). Only drawback
> is that it's closed-source and proprietary, but if that
doesn't bother
> you - it's a great platform I think.
>
> Using it against CherryPy rather than Django makes
perfect sense if
> you aren't using Django already. What you need is an
AMF encoder
> (similar to JSON encoders that we have already).
>
> For Python, this exists in several places in
"partial"
> implementations. DjangoAMF is one, Flashtickle [1] by
Bob Ippolito is
> another.
>
> A third one is included in rtmpy [2], which is a
project I'm involved
> in and is meant to implement the RTMP protocol and
related concepts in
> Twisted. Unfortunately I have lacked time to work on it
and there are
> few Python developers around who show interest :(
>
> Flashtickle is outdated and Bob has issued that he will
not maintain
> it. The DjangoAMF version I disliked for various
reasons (YMMV).
>
> One of the first things we need to do in RTMPy is AMF
support, and AMF
> decoding is mostly complete. Encoding however... not so
much 
You
> can have a look at it, the general idea is there and
it's heavily
> based on SabrAMF, an AMF implementation for PHP.
>
> If you're interested, the rtmpy project needs someone
to write up the
> AMF encoder. A complete AMF codec would be exactly what
you need to
> communicate between Flex and CherryPy.
>
> [1]http://undefi
ned.org/python/#flashticle
> [2]http://dev.collab.com/rt
mpy/
>
> Arnar


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: the killer Cherrypy library...
user name
2007-09-07 10:39:23
On 9/7/07, Mario Garcia <Marioskygmail.com> wrote:
>
>  Cant you just use JSON to comunicate at certain level
with FLEX?

I think so.  I watched this screencast a while back:
http://www.adobe.com/devnet/flex/articles/eckel_video.
html

They used Turbogears with Flex, and I think they used JSON
for their
data format.

Christian
http://www.dowski.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: the killer Cherrypy library...
user name
2007-09-07 11:19:01
On 9/7/07, Mario Garcia <Marioskygmail.com> wrote:
>  Cant you just use JSON to comunicate at certain level
with FLEX?

Yes you can, and XML works well to (actionscript support
E4X). I
believe AMF gives better performance if you have a lot of
data.. but I
don't have anything to back this up.

>  And think Flex is open source, or there are plans:
>   http://labs.adobe.com/wiki/index.php/Flex:Open_Source

Thanks, didn't know that.

Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )