On 4/3/07, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote:
> Dear wizards,
> I'm a bit stuck with my application design:
> It's a local client for a web application, an exporter that writes web
> articles to InDesign files.
> It pulls the data read-only as JSON from a web service - the source database
> is only accessable on the web server.
> The web service provides not only the article data but also structural stuff
> like issues and categories.
> My dabo GUI should fill some dropboxes with that structural data to select
> from.
>
> So I've
> - a connection (https with session ID)
> - a "bizobj" (data conversion, sorting, filtering)
> - a dabo GUI
> Looks like 3 tiers, doesn't it?

See Ed's comment.

>
> So I'd like to know if I can use dabo's grace also for the first two tiers
> in any way, or only for the GUI.
> I've still no experience with dabo, so I can't guess which classes would be
> general enough to inherit from.
>
> I *don't* need help with JSON conversion or session handling, just hints
> which dabo classes would be suitable ancestors. Or what I should construct
> in an other way.

As Ed said, you would have to override the generic bizobject methods
in order to do anything with the JSON stuff.

What I would do in this case is NOT to use the Biz tier.  Only use the
UI tier.  It functions on it's own and as a GUI toolkit is probably
the best Python has to offer right now.  You won't be able to use the
DataSource stuff, but your backend should work fine.

Check out the DaboDemo apps as there are several in there that are UI
tier only.  They should get you started.

>
> Thank you in advance!
>
> Greetlings, Hraban
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
>
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
> Searchable Archives: http://leafe.com/archives/search/dabo-users
> This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
>

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to