Saturday, 15 June 2013

.net - Does PhoneGap go hand-in-hand with ASP.Net webforms? -



.net - Does PhoneGap go hand-in-hand with ASP.Net webforms? -

i'm new phonegap , everywhere looked doesn't suggest using webforms server code.

the application server web server (apache, iis, etc...) , has server side scripting language such coldfusion, java, .net, php, etc... phonegap agnostic of back-end technologies , can work application server using standard web protocols. application server performs business logic , calculations, , retrieves or persists info separate info repository - relational database, construction or mechanism info persistence.

http://phonegap.com/2012/05/02/phonegap-explained-visually/

this article however, mentioned phonegap able work application server including .net.

has used phonegap webform before? work? form postbacks etc? or should ajax-based? (calling webmethods etc)

from end of linked article:

phonegap applications not talk straight database; communication routed through application server. client application server communication can based upon standard http requests html content, rest-ful xml services, json services, or soap (or websockets if os supports it). these exact same techniques utilize in desktop-browser based ajax) application.

the client-side architecture uses single-page application model, application logic within single html page. page never unloaded memory. info displayed updating html dom, info retrieved application server using ajax techniques, , variables kept in-memory within javascript.

so yes, in general wouldn't utilize postbacks, utilize ajax calls server in order get/create/update info - supported asp.net webforms via handlers (ashx) or static page methods on aspx page. actual front-end design in html , css, no asp.net controls, plain old html inputs, etc.

asp.net .net cordova webforms

No comments:

Post a Comment