Idenfity www.* or m.* - google-app-engine

I'm building a web app with GAE Python and Angular2.
And one of the requirements is that the UI will be totally different between web and mobile. Like www.product.com and m.mobile.com.
How is the best way to identify, in Angular2 when the agent is mobile?

Related

Responsive website into app or Hybrid mobile app?

So after too many searches I decided to ask this question.
First of all I'm building a mobile app using angularjs in my website (Online) not localhost. The app is a kind of a CRM based (CRUD mostly).
I have the cordova mobile application ready. I have a few questions here.
Is it acceptable, if I use the website URL directly in the inappbrowser URL (Like an iframe)?
Or. Should I need to put the angularjs files inside the www directory of the cordova app and access the server functions via API?
Which way is preferable? Why?
Will there be any performance differences?
If the No.1 is not a best practice, what is the major drawback on using the inappbrowser?
You can build Hosted Web App in an Apache Cordova:
For this scenario, you use a thin Cordova client (think of it as a web
browser embedded in a native app) that automatically redirects to your
Web site.
See also: Wrapping an existing web application in Cordova.
Other option: PWA.
From Wiki:
Progressive web applications (PWAs) are web applications that load
like regular web pages or websites but can offer the user
functionality such as working offline, push notifications, and device
hardware access traditionally available only to native applications.
PWAs combine the flexibility of the web with the experience of a
native application.

can I create progressive web app in django framework or wagtail which one is best?

I am trying to build for website so I need to know that.what is progressive web app? and all devices or only moniter.
Progressive web apps are web apps that can look and act like native apps.
django-progressive-web-app may be a good place to start your research about using Django for your project. I've never used it myself, but it looks promising.

How to convert Ionic mobile to web app

Say I have an existing mobile app built on Ionic. Now I need to have a website version of the app so users can access it via desktop too.
Is there any documentation that suggest this is possible?
I think you're looking for Progressive Web Apps. Ionic does cater for such, just google for the term "Ionic PWA" example below.
http://blog.ionic.io/navigating-the-world-of-progressive-web-apps-with-ionic-2/
https://blog.saddey.net/2016/07/03/using-docker-to-create-ionic-2-pwa-developer-environment/

What is the best backend for a jquery mobile web app?

i want to know what is the best backend (database) for a jquery mobile web app and if you have any tutorials and tips that i could use? What is the best database to support a jquery mobile web app?
Thanks
Backends for mobile apps is a completely different concept altogether when it comes to the context of market. There's a new revolution of mBaaS providers - mobile Backend as a Service. Instead of having your own backend, writing your own web services and exposing them to your app, I would suggest trying a mBaaS, unless the situation is demanding to go by the traditional ways.

Creating a mobile app using Google App Engine and GWT?

I have a Google App Engine application with a front-end that was created using GWT. How would I go about creating a mobile app equivalent of this? In particular I would prefer to use GWT to create the front-end here as well. Does Google have any thing within GWT specifically designed for creating mobile apps? Is there already some existing structure in GWT which takes the front-end you've created and makes it scalable so that it can be easily transformed into a mobile app? Thank you much!
You should also definitively check mgwt + gwt-phonegap. It's a cross platform gwt/phonegap solution.
It depends a lot on whether you wish to build cross platform as in phonegap or keep it simple as in mobilewebapp example provided in sample folder in gwt zip file you download.
The mobilewebapp sample does not access smartphone features but will be accessible by browser on any mobile. phonegap or similar frameworks like titanium,sencha provide api to access smartphone features.
Fore more information -
http://www.sapandiwakar.in/technical/api-research-study-iphone-and-android-applications/
Sencha Touch 2 native build vs wrapping Sencha Touch 2 in Phonegap

Resources