• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Angular JS + WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Angular JS + WO


  • Subject: Angular JS + WO
  • From: Ricardo Parada <email@hidden>
  • Date: Fri, 30 May 2014 12:18:14 -0400

Hi All,

Has anybody explored using Angular JS with WebObjects?  When I first heard of angularjs I thought it was just another javascript library like jquery, prototype, etc. for manipulating the DOM and doing ajax requests.

Then I saw the videos and it seems to go beyond that into WebObjects territory.  They add attributes to the html elements to accomplish things that we normally accomplish with WebObjects.  For example, they add an ng-repeat attribute to a <tr> html element if they want to do a repetition.  Or they add an ng-if attribute to any html element that is to be rendered conditionally.  So in other words, it steps into WORepetition, WOConditional territory.  Nonetheless, it captured my attention as it looked like a very elegant approach.

So my question: has anybody explored Angular JS with WebObjects?

I am thinking that I would have to dig into how angular js processes all the ng- attributes in the html tags and converts them to HTML.  I talked to somebody and thought that Angular JS seems to be in the WebObjects UI rendering territory but could tap into WebObjects using REST.  But I'm thinking that it may be possible to have a WONGComponent that has angularjs attributes in the html that bind to the java component or something like that.

Thanks
Ricardo

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Angular JS + WO
      • From: Michael Kondratov <email@hidden>
  • Prev by Date: Re: Announcement: EROldFart Interface and a solid default implementation
  • Next by Date: Re: Announcement: EROldFart Interface and a solid default implementation
  • Previous by thread: Re: Announcement: EROldFart Interface and a solid default implementation
  • Next by thread: Re: Angular JS + WO
  • Index(es):
    • Date
    • Thread