Hi Thomas,

We just posted at the same time:-)

On Wed, Feb 27, 2013 at 11:19 AM, Thomas Heigl <tho...@umschalt.com> wrote:

> Hey Guys,
>
> Thanks a lot for sharing your ideas. Maybe together we can find a smooth
> way to integrate the two ;)
>

Please see my previous e-mail. I will gladly join forces with anyone
willing to help/contribute angular based components.


>
> My plan for now is to create an abstract wicket page for angular apps that
> renders basic HTML structure including menus, footers, meta tags etc. This
> page also adds the basic angular JS dependency. Concrete pages can then add
> JS/CSS dependencies for an angular app included via Webjars and bind the
> application to a tag within the wicket page.
>

What will you include on this Webjar? Only angular your your code as well?
Isn't this approach a bit "slow" for development?


>
> I'll keep you updated when I have know how this works out.
>
> Please do so.

Cheers,


> On Tue, Feb 26, 2013 at 11:16 AM, sauli.ketola <sauli.ket...@mbnet.fi
> >wrote:
>
> > Ernesto Reinaldo Barreiro-4 wrote
> > > I want this special page to be be stateless, so I'm planning to serve
> > JSON
> > >  needed via mounted resources.
> >
> > I've been also playing with a similar idea. Nice to hear that there are
> > similar attempts going on. In my case I decided to serve the JSON
> through a
> > Spring Controller
> > http://blog.springsource.org/2009/03/08/rest-in-spring-3-mvc/
> > <http://blog.springsource.org/2009/03/08/rest-in-spring-3-mvc/>  . I
> feel
> > this makes the service interface more straightforward to implement -
> > compared to mounted resources.
> >
> > The motivation for me to do this is that I get to package the angular
> > application like a standard java web application, and it can then be
> > deployed to a servlet container like the other applications. If needed, I
> > also get a session for the application (I can for example check that the
> > service calls are made in a session + get hold of the user information,
> > etc).
> >
> > Also I have found that none of the javascript frameworks that I have
> > studied
> > so far have decent support for i18n - with this I could use Wicket for
> > that.
> > Wicket has also other features that are useful for this like javascript
> and
> > css resource serving. (I haven't done this yet but) I think I could add
> the
> > required js resources in all of my panels and wicket handles them so that
> > the javascripts are included in the resulting page only once.
> >
> > I will try to get a sample application made to demonstrate this.
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Integrating-Wicket-with-an-Angular-app-tp4656794p4656820.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
> >
> >
>



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

Reply via email to