I'm trying avoid PhoneGap.  I've looked it over a couple of times,
and though having a web app working as a "native" app is appealing,
PhoneGap seems to add more complication than I'd like to add to the
development process.  I thought it was simple at first, but digging
into the weeds of the process, it seemed to get rather complicated.

Are you using it?

Are you doing any mobie dev these days?  Especially web apps?

Rick

-----Original Message-----
From: Raymond Camden [mailto:[email protected]] 
Sent: Tuesday, December 06, 2011 10:30 AM
To: cf-talk
Subject: Re: SOT: Mobile Web App Dev Problem


Well, I figured it wasn't the root cause, but when debugging, I try to
get rid of anything that may be an issue.

So yea - you can't do an XHR request to another domain. That's basic
browser security. If you are building a mobile app via PhoneGap, that
restriction goes away, but in a regular browser, mobile or not, you
can't do that.

You can use JSON/P though.


On Tue, Dec 6, 2011 at 8:38 AM, Rick Faircloth <[email protected]>
wrote:
>
> Thanks for taking a look, Ray.  Those JS error don't matter
> for the problem... those were just leftover js script lines
> from another page referencing js validation and js form processing
> routines that I haven't implemented for the page, yet.
>
> I saw another error in Chrome's dev tools, as well... it wouldn't
> let me access my cfc method to ajax in the real estate info.
>
> Here's the message, what that means:
>
> XMLHttpRequest cannot load
>
http://api.tinyhippos.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=se
>
arch-properties.cfc%3Fmethod%3Dm_create_properties_display_file%26returnForm
> at%3Djson. Origin http://hre-mobile.wsm-dev.com is not allowed by
> Access-Control-Allow-Origin.
>
> Rick
>
> -----Original Message-----
> From: Raymond Camden [mailto:[email protected]]
> Sent: Monday, December 05, 2011 11:01 PM
> To: cf-talk
> Subject: Re: SOT: Mobile Web App Dev Problem
>
>
> Not sure it matters, but upon running your page with Chrome Dev Tools
> active (everyone does that, right?) I immediately saw 2 JS libraries
> reporting a 404 error.
>
>
> On Mon, Dec 5, 2011 at 9:03 PM, Rick Faircloth <[email protected]>
> wrote:
>>
>> You can check out the earlier problem I mentioned, now.
>>
>> Click the "search form" on
>>
>
http://hre-mobile.wsm-dev.com/modules/search-properties/search-properties.cf
>> m
>> and try to change the first select field.
>>
>> For some reason, on this and every other field I've built
>> with a select first, it won't change.
>>
>> Thoughts or word-arounds, anyone?
>>
>> Rick
>>
>> -----Original Message-----
>> From: Rick Faircloth [mailto:[email protected]]
>> Sent: Monday, December 05, 2011 5:02 PM
>> To: cf-talk
>> Subject: RE: SOT: Mobile Web App Dev Problem
>>
>>
>> Thanks for that feedback, Captain, but that's a new
>> error.  I went ahead and started working on the AJAX part
>> of the application.  None of that has been a part of
>> the app until now.  Sorry about the confusion. :o)
>>
>> -----Original Message-----
>> From: Captain Obvious [mailto:[email protected]]
>> Sent: Monday, December 05, 2011 4:22 PM
>> To: cf-talk
>> Subject: Re: SOT: Mobile Web App Dev Problem
>>
>>
>> 500 error : Table 'holtzmanrentals.rentalmainphotos' doesn't exist
>>
>>
>>
>>
>>
>>
>>
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348975
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to