All that kind of stuff has real data thats on the servere side. for example a list (paging) that you sort? what do you sort? what is now on screen? But 95% of the data isn't in the browser instance it sits on the server (or database)
a simple hopping card is maybe possible without any server calls but what would that really gain from a user perspective? the problem is that in wicket you can do everything in the code, you have access to everything so when you have a java->javascript compiler for pieces of code. Then those pieces should be really standalone. If you want such a thing use GWT. johan On 4/4/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
possible ideas: - a shoppingcart that works 100% in the browser if possible, else degrades gracefully to the well known server side - sorting logic of lists in backendapplications (e.g: sort by name beginning with "B*" ... so fancy excel stuff etc.) i like the idea, however i have no clue if it could be done... > -----Ursprüngliche Nachricht----- > Von: Johan Compagner [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 4. April 2007 16:42 > An: [email protected] > Betreff: Re: Wicket + java->javascript compiler? > > again i ask. > give me an example > the only thing i can think of is having client side > validatiors (so our validators also have a client part > besides the server part) > > What else is there that would benefit from this without a > server call being made. > > johan > > > On 4/4/07, Neeme Praks <[EMAIL PROTECTED]> wrote: > > > > > > Matej Knopp wrote: > > > But wicket is a framework that manages server side state. > > > > That is quite a strong statement and I do not see it backed up by > > "official" Wicket "marketing story". > > http://incubator.apache.org/wicket/introduction.html > > > > Wicket is all about writing modular web applications in > java, with all > > the benefits that come with the strongly-typed language. The word > > "server" is rarely mentioned in the documentation and "server side > > state" is an implementation detail. > > > > If we can write modular web applications in java and > publish parts of > > them as JavaScript to be run in the client, thus reducing > the amount > > of server state - I think this is still Wicket. > > > > Rgds, > > Neeme > > > > >
