I want to deploy a pure angular-js frontend appication to openshift. This application contains only html/css/js files.
What is the best cartridge that I can use, php5, tomcat, nodes.js?
Thanks
The best is PHP for a simple HTML + JS app. PHP is the lightest weight cartridge we have. It is what the evangelists use for HTML apps. For example - http://talks.thesteve0.com is running on OpenShift in a PHP cartridge and is just a reveal.js site.
Related
I am trying to develop a mobile app on Wakanda v11 starting with prototyping my page,test run it and try to build the prototyped page into an .apk file but all the system does is building the sample application in the mobile folder.
Any suggestion as how to proceed?
If you want to create a mobile app you must create it in the mobile folder in Wakanda Studio.
Today, there is no prototyping tool inside Wakanda to do a mobile app.
But you can use ionic creator to prototype your mobile app. When you have done that, you could integrate it in the Wakanda mobile folder.
There is a tutorial that can help you here : tutorial to create a first mobile app with Wakanda
If you want to create a native mobile application so you can generate the .apk, you should use Ionic/Cordova/Angular, by developing you application in the 'mobile' folder. you can follow the example set by default.
To access to database you can use the Angular/Wakanda connector : Docs
The prototype application cannot generate an .apk file
I needed some inputs on mobile apps.
Query: I have an existing web application on AEM(angularJS is not used). I want to transform the same on Mobile app using AEM6.1
While reading through the documentation section of AEM Apps, I found that the mobile App built on AEM
- works on the terminology and AngularJS framework.
- mobile App has different paths and app structure as compared to AEM web Applications
-since, phonegap has to be used, relative path needs to be different than the same of web application.
I am in a dilemma as If I would be able to convert my existing web app into a mobile App or not. If anyone of you has done some research on this, it would be very helpful.
Thanks in advance!!!
Regards
You can very well convert your AEM desktop application to a mobile app(site should be responsive).
AEM makes use of Cordova (PhoneGap) and ContentSync framework to create apps for both android and iOS. More about how to config ContentSync here. In simple terms, ContentSync packages your application(/content, /apps, /etc,...) based on defined set of configurations and cordova(phonegap) helps you access native phone capabilities and to create the archive file (apk/ipa). There is more than one way to create an app using AEM.
1. Using Cordova CLI :
You setup a cordova project in your filesystem. Then create contentsync configuration for your AEM project. Generate and download the application archive from here. Cordova project you had setup earlier will have the below folder structure.
Place the contents of archive file inside www folder, modify config.xml according your application and initiate build. Using this method, you will require an Apple system to generate .ipa file since it makes use of xcode and windows makes use of npm node js for the initial dev env setup.
2. Using OOTB 'Initiate phonegap build' workflow and AEM cloud config
This is an easy approach and does not require you to setup any cordova project in your system. All you have to do is setup contentsync configuration, add a few properties for the workflow to recognise your project and then trigger the workflow. Follow this.
3. Using Apps console in AEM 6.1
This also makes use of ContentSync underneath. Apps console makes the app very easy to maintain and configure, it also has inbuilt configurations for push notification, deep linking etc. Go through the info here. Refer to the sample geometrixx-outdoors project created in apps console, will help you understand better.
PS: Cordova and phonegap are the same. You can think of Cordova as Linux kernel and PhoneGap as linux distribution.
As per the title, can I run a Jekyll website from the file system, without a web server? i.e. on the file:/// URL scheme.
I don't have the facility right now to build a test site to check. To my knowledge, it's basically a question of how Jekyll builds the links between the pages.
For context, my intended use case is developing a mobile app that will run web pages in a native wrapper. I've used phonegap in the past but this is something a little different, simpler. What I'm interested in is the ability to generate the pages using markdown.
Yes. Assuming you have Ruby installed (if you're on a Mac, it comes default) you can build a Jekyll project and it just spits out flat HTML files. You'd be fine working on the file:// protocol or setting up a virtual host and using http://.
Up to you!
Does Phonegap offer the facility for an app to change all or part of its UI or business logic in the field, by downloading fresh HTML/CSS/Javascript at runtime?
Are there any examples of hybrid apps which do this?
It can. Just look into HTML5 AppCache manifest configuration on the server. One quirk is that Apple will reject your App for doing this.
I'm trying to use SimpleMembershipProvider to manage the authentication process of my mobile application.
I generated the project using Mobile template, but this doesn't generated the same files of the Internet application template. It doesn't created the folder Filters with InitializeSimpleMembershipAttribute.cs file and the web.config, AccountController and AccountModel are different.
Can I use SimpleMembershipProvider with mobile applications? If yes, how should I do this? If not, what is the alternative?
You can use the SimpleMembershipProvider in your mobile application. This article provides complete instructions on how to do this and provide links to an example VS project that can be downloaded.