On 3/11/07, iain duncan <[EMAIL PROTECTED]> wrote:
> > I haven't done it but it's a live issue in our office.  I have one
> > site that's a web application (Quixote) and will also be a standalone
> > web application for laptops without Internet access (e.g., for
> > emergency responders on a truck or ship).  We debated doing a wxPython
> > interface for the standalone but didn't want to maintain two totally
> > different APIs.  wxPython has an HTML panel but I don't think it
> > supports CSS or Javascript, plus how would you make a URL for an
> > intra-application hyperlink?  So we decided on a local version of the
> > web application, which has its own set of problems: the browser is an
> > automomous process unless you embed it in a platform-specific way
> > (both Windows and Macintosh), the server is either invisible or has
> > its own little GUI to stop it - which all works differently than a
> > normal application.  Some say local web applications will be a lot
> > more common in the future but for now they just look weird to most
> > users.
> >
> > I've seen Dabo twice at PyCon and am impressed by it, both for
> > database CRUD and for general GUI applications.  It's much more
> > pythonic than raw wxPython, although I'm not sure how it compares to
> > PythonCard.
>
> So, having done it with a local web app and now having seen Dabo, would
> that change your choice if you were to do it again? I would love to hear
> more details on how that went if you have time. ( good, bad,
> interesting, etc )
>
> I am very attracted to the fine grained input control we get with a
> wxApp, as well as how much easier it would make security; it seems to me
> that catching admin input errors or sloppy practices can be made a lot
> more pleasant than the it usually is through a browser. And while I know
> we *can* do that with javascript, let's face it, it ain't pretty
> compared to even C++!  Personally I really don't think wxPython looks so
> bad, must be my C audio background. ;) But everyone seems pretty jazzed
> by Dabo so maybe a Dabo/Pylons combo would be a sweet option.
>
> I would also think that a wxPython or wxWidgets app that talked to the
> db through a socket layer could be made dead easy to install, but as I
> have not done that, maybe I'm way off base?
>
> Anyone know if you can use SQLAlchemy as your backend for Dabo? If not,
> I would think the smart way to do it would be to make a simple little
> api or socket server that allowed one to use the same model code for
> both versions. But it's all brainstorming right now fer me.

All of this reminds me very strongly of the book "Dreaming in Code".
They faced the same sorts of decisions, in Python nonetheless.

WxPython may be the best cross-platform API we have, but it sure does
seem to negatively impact a lot of projects. :-/

-jj

-- 
http://jjinux.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to