logo       

Re: [ANN] the Bicephale project: msg#00107

Subject: Re: [ANN] the Bicephale project
> It is greately appreciated. I gonna use it for my e-shop project to
> display departments/products pages. Just loaded it into my image,
> trying to get a clue how to start using it :-)

Thanks. Note that this is an early experimental version, mostly
designed as a 'proof of concept' that such a thing can be done and is
useful. In particular, the methods for component creation/embedding
are not very friendly. What you want to look at to start playing:

WABicephale class >> registerAs:for:

  registers a new bicephale application (while there is no UI).
  give it the path and the root object to display.

Then for each object type that you want to have a viewer component
for, implement #seasideViewerClass. Suppose your e-shop sells cameras
and has a Camera instance for each camera you sell, then you might
create a WACameraViewer component by subclassing WAStaticViewer and
in your Camera instances implement:

seasideViewerClass
        ^ WACameraViewer

And obviously, in each component, implement #renderContentOn: to
display whatever you wanted.

Finally, there is the somewhat murky territory that I'm still unhappy
about) of the difference between 'viewers' and 'simple components'.
See the class comments of WAStaticComponent and WAStaticViewer.

Again, all of this is probably still going to change a fair amount...

Michal


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe