Re: Wicket for Hybrid App

2013-03-28 Thread nazeem
My App is not static, I intend build some thing like this..

Phone gap + html + css + JS   Bundled as Android App / iPhone App

To start with need to be online, connect to the server using REST,
synchronize the data and store in local db storage via phone gap api's. 

Now when offline, the App uses local storage DB and when connected to
internet it sends all local stored or updated info to server  via REST and
pulls latest info from server. 

Do you see any issue with this ? I would love to use Wicket for the front
end, but not yet.. Can wicket generate client side stubs like DWR does ? 




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-for-Hybrid-App-tp4657458p4657602.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket for Hybrid App

2013-03-28 Thread Paul Bors
Yes, I use the Velocity panel in Wicket to have it render other formats but
HTML (in my case XML) as used to transfer some feedback between two systems.

You could do something similar where the velocity template is your mobile's
APP HTML and have those be rendered by Wicket and then sent to your mobile
phone client.

See http://wicket.apache.org/learn/projects/velocity.html

~ Thank you,
   Paul Bors

On Thu, Mar 28, 2013 at 2:58 AM, nazeem md.naz...@gmail.com wrote:

 My App is not static, I intend build some thing like this..

 Phone gap + html + css + JS   Bundled as Android App / iPhone App

 To start with need to be online, connect to the server using REST,
 synchronize the data and store in local db storage via phone gap api's.

 Now when offline, the App uses local storage DB and when connected to
 internet it sends all local stored or updated info to server  via REST and
 pulls latest info from server.

 Do you see any issue with this ? I would love to use Wicket for the front
 end, but not yet.. Can wicket generate client side stubs like DWR does ?




 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-for-Hybrid-App-tp4657458p4657602.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Wicket for Hybrid App

2013-03-27 Thread Paul Bors
But if you use plain JS, Css, Html etc, how do you satisfy the requirement
of having the app work offline?
Is your app all static?

On Tue, Mar 26, 2013 at 8:11 PM, nazeem md.naz...@gmail.com wrote:

 That sounds interesting..  But im afraid it gets bigger in size, memory
 etc..
 Need to try this..

 But for now, I chose jQuery + REST to communicate to server for data and
 all
 other html, JS, css etc packaged as phone gap app. So the desktop version
 of
 the client is Wicket and mobile version in plain JS, Css,Html.






 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-for-Hybrid-App-tp4657458p4657546.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Wicket for Hybrid App

2013-03-27 Thread Paul Bors
I shouldn't say static, I shoud have asked if your app is not depending on
a persistence server side storage?
ie: I would expect my data view to change when I update a filter and a SQL
or some query to run on a remote server.

On Wed, Mar 27, 2013 at 11:57 AM, Paul Bors p...@bors.ws wrote:

 But if you use plain JS, Css, Html etc, how do you satisfy the requirement
 of having the app work offline?
 Is your app all static?

 On Tue, Mar 26, 2013 at 8:11 PM, nazeem md.naz...@gmail.com wrote:

 That sounds interesting..  But im afraid it gets bigger in size, memory
 etc..
 Need to try this..

 But for now, I chose jQuery + REST to communicate to server for data and
 all
 other html, JS, css etc packaged as phone gap app. So the desktop version
 of
 the client is Wicket and mobile version in plain JS, Css,Html.






 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-for-Hybrid-App-tp4657458p4657546.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





Re: Wicket for Hybrid App

2013-03-26 Thread nazeem
That sounds interesting..  But im afraid it gets bigger in size, memory etc..
Need to try this..

But for now, I chose jQuery + REST to communicate to server for data and all
other html, JS, css etc packaged as phone gap app. So the desktop version of
the client is Wicket and mobile version in plain JS, Css,Html.

 




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-for-Hybrid-App-tp4657458p4657546.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket for Hybrid App

2013-03-25 Thread Paul Bors
Here's an idea,

Create a native app for your phone that installs Tomcat, Jetty along
with your Wicket webapp and whatever else you might nedd.
Have your webapp on all those clients sync up with your central db whenever
they come online :)

~ Thank you,
   Paul Bors

On Sat, Mar 23, 2013 at 1:19 AM, nazeem md.naz...@gmail.com wrote:

 Hi

 Thanks for your input. I understand what you meant, to serve pages from the
 server directly. So the phone gap will be trying to launch some thing like
 http://app.company.com/demo/... .  I agree, can be done this way. But one
 important criteria or requirement, is that the app should work offline.. :)
 In case of offline, the data is to be stored in local phone db (sqllite or
 session .. )  and then sync back to server. So I can rely on data from the
 server but not the pages as such..

 regards
 naz.




 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-for-Hybrid-App-tp4657458p4657461.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Wicket for Hybrid App

2013-03-25 Thread manuelbarzi
 Create a native app for your phone that installs Tomcat, Jetty along
 with your Wicket webapp and whatever else you might nedd.
 Have your webapp on all those clients sync up with your central db whenever
 they come online :)


how do you do explain that? running a fully compliant jvm in a smartphone,
for instance? doesn't seem to have sense, at least nowadays for the moment.


RE: Wicket for Hybrid App

2013-03-25 Thread Paul Bors
I was kidding hence the smiling face :P
Although, you might be able to do so in a few years or so...

You'll have to have a full native phone app since you're already have a
requirement to run the app offline (and you can't run Wicket on the phone).
If the app is static, you might get to cache some HTML on the phone
otherwise you'll only get to use Wicket on the server side.

~ Thank you,
  Paul Bors

-Original Message-
From: manuelbarzi [mailto:manuelba...@gmail.com] 
Sent: Monday, March 25, 2013 5:14 PM
To: users@wicket.apache.org
Subject: Re: Wicket for Hybrid App

 Create a native app for your phone that installs Tomcat, Jetty along 
 with your Wicket webapp and whatever else you might nedd.
 Have your webapp on all those clients sync up with your central db 
 whenever they come online :)


how do you do explain that? running a fully compliant jvm in a smartphone,
for instance? doesn't seem to have sense, at least nowadays for the moment.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket for Hybrid App

2013-03-25 Thread Igor Vaynberg
why wait? https://code.google.com/p/i-jetty/

-igor

On Mon, Mar 25, 2013 at 3:38 PM, Paul Bors p...@bors.ws wrote:
 I was kidding hence the smiling face :P
 Although, you might be able to do so in a few years or so...

 You'll have to have a full native phone app since you're already have a
 requirement to run the app offline (and you can't run Wicket on the phone).
 If the app is static, you might get to cache some HTML on the phone
 otherwise you'll only get to use Wicket on the server side.

 ~ Thank you,
   Paul Bors

 -Original Message-
 From: manuelbarzi [mailto:manuelba...@gmail.com]
 Sent: Monday, March 25, 2013 5:14 PM
 To: users@wicket.apache.org
 Subject: Re: Wicket for Hybrid App

 Create a native app for your phone that installs Tomcat, Jetty along
 with your Wicket webapp and whatever else you might nedd.
 Have your webapp on all those clients sync up with your central db
 whenever they come online :)


 how do you do explain that? running a fully compliant jvm in a smartphone,
 for instance? doesn't seem to have sense, at least nowadays for the moment.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket for Hybrid App

2013-03-22 Thread Ernesto Reinaldo Barreiro
Hi,

On Sat, Mar 23, 2013 at 4:14 AM, nazeem md.naz...@gmail.com wrote:

 Hi,

 We have a full fledged application running on Wicket + Hibernate + Spring
 ..
 Now we are left with no choice but to come up with a mobile version of the
 same.. But the requirements for mobile are it must have capabilities to
 scan
 bar code, take photo and upload, attach documents from mail in mobile,
 etc..
 goes on..  So it has to be native to have these features.. But we want to
 use the wicket or html / js / css skills to get these app faster. This is
 when we are looking for hybrid apps and came across platforms like
 phonegap,
 apache cordova, etc..

 Can wicket be used for hybrid apps ? If so how..



Isn't this just a matter of serving your phone-gap (apache cordova) powered
 application from Wicket?. At least with phone gap I understand the
application is just HTML+ JS files you serve form somewhere: usually local
file system but it can be a remote URL too. Also you could use mounted
resources or pages to serve all the resources needed by this application.

I have made a small experiment a few month ago with Wicket and Phonegap and
I did not find any problems in using both together but my experiment was
not very complex so I might have missed some important limitations.

-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ http://antiliasoft.com/antilia


Re: Wicket for Hybrid App

2013-03-22 Thread nazeem
Hi 

Thanks for your input. I understand what you meant, to serve pages from the
server directly. So the phone gap will be trying to launch some thing like
http://app.company.com/demo/... .  I agree, can be done this way. But one
important criteria or requirement, is that the app should work offline.. :) 
In case of offline, the data is to be stored in local phone db (sqllite or
session .. )  and then sync back to server. So I can rely on data from the
server but not the pages as such.. 

regards
naz.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-for-Hybrid-App-tp4657458p4657461.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org