Ok, I'm confused about something concerning embedded child UX components in PhoneGap apps.
I'm thinking of trying it out to break up one large UX component. However, I need the application to work offline at times.
I see a "Precomputed" option in the properties for an Embedded Object:"Method for opening UX in a PhoneGap or Static HTML app"
I think that if I want everything to work offline, I'll have to use that method.
I'll be testing it out of course but I wanted to know if I'm going in a totally wrong direction.
This is were things are clear for me...
When building the PhoneGap app with the builder, you specify the initial UX component and the URL For All Ajax Callbacks.
Does that mean that both the Parent and Child UX's need to be published under the same application server application?
I know that it is possible to set the PhoneGap Ajax Callback URL Dynamically at Runtime, do you have to put that code in something like onInitializeBegin for each component?
Or because I need to precompute it, does the build process automatically merge the child html into the main index.html on the PhoneGap side and then merge the child UX server code into the parent one as far as the app server app that gets published?
If so, I don't see the benefit of going in this direction (since I haven't split up the UX's yet).
[Edit]: I've seen that there is a PhoneGap Multiview Plugin. Has anyone looked into that or even got it working in the AlphaAnywhere environment? I would imagine that you need to produce multiple html pages and I don't see how I would produce them and then submit them to PhoneGap build.
I'm thinking of trying it out to break up one large UX component. However, I need the application to work offline at times.
I see a "Precomputed" option in the properties for an Embedded Object:"Method for opening UX in a PhoneGap or Static HTML app"
I think that if I want everything to work offline, I'll have to use that method.
I'll be testing it out of course but I wanted to know if I'm going in a totally wrong direction.
This is were things are clear for me...
When building the PhoneGap app with the builder, you specify the initial UX component and the URL For All Ajax Callbacks.
Does that mean that both the Parent and Child UX's need to be published under the same application server application?
I know that it is possible to set the PhoneGap Ajax Callback URL Dynamically at Runtime, do you have to put that code in something like onInitializeBegin for each component?
Or because I need to precompute it, does the build process automatically merge the child html into the main index.html on the PhoneGap side and then merge the child UX server code into the parent one as far as the app server app that gets published?
If so, I don't see the benefit of going in this direction (since I haven't split up the UX's yet).
[Edit]: I've seen that there is a PhoneGap Multiview Plugin. Has anyone looked into that or even got it working in the AlphaAnywhere environment? I would imagine that you need to produce multiple html pages and I don't see how I would produce them and then submit them to PhoneGap build.
Comment