• 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
Re: angular and rest questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: angular and rest questions


  • Subject: Re: angular and rest questions
  • From: Farrukh Ijaz <email@hidden>
  • Date: Thu, 14 Aug 2014 00:11:42 +0300

In my experience, WebObjects and AngularJS are two opposite dimensions. They do not go well together without some work arounds. I’m trying to build ERAngular framework which could help WO developers to achieve what angular provides still coding on the server side. E.g. a ERAngularModule which could provide server side access to $scope so you don’t need to write any _javascript_. This will take time… till then you can try following two options.

1. expose your component actions as URLs that can for $http service.
2. Use Apache Cordova and use jars that are used for Android plugins (they are java code) … this may be tricky but once a plugin is written, it’s piece of cake to communicate for posting data.

I’ll try to find a better solution for you in the mean time :)

Farrukh

On Aug 13, 2014, at 10:09 PM, Larry Mills-Gahl <email@hidden> wrote:

I’ve got a project that I’m testing some angularjs with and am encouraged by some of the things in the browser that are pretty straight forward (loading and filtering json is pretty simple and appears to play well with others)

Since I’m using hg-repeat instead of WORepetition, I’m looking for a good way to get the selected item from the angular repetition. (I feel like there should be a better way than hidden fields) Does anybody have any suggestions or _javascript_ mojo to bridge the wo/ng component communication?

Yes, this would be easier if it were completely REST, but it’s not (yet) so I’m trying to get the new, more interactive (browser centric) components to work and play well with the old server centric components.




Larry Mills-Gahl
email@hidden





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 and rest questions
      • From: Laurence Mills-Gahl <email@hidden>
  • Prev by Date: Re: mod_proxy as mod_WebObjects alternative [Was: Re: Yosemite]
  • Next by Date: Re: angular and rest questions
  • Previous by thread: Re: defaultAction returning wrong component in Application request handler
  • Next by thread: Re: angular and rest questions
  • Index(es):
    • Date
    • Thread