Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am developing mobile application that will be published in each respected store.
Found this thread, what do web resources refer here? Is it the HTML, CSS, JS? I believe it refers adapters code?
If I update the mobile application code (for example, for the HTML, CSS, JS only), I believe I need to update directly to store just like the mechanism of uploading pure native mobile app?
You can build three types of applications using IBM MobileFirst Platform: Native apps (to which you add an SDK), Hybrid apps and Cordova apps.
Hybrid apps are a native app shell that is generated for you by the MobileFirst Platform tooling, and you write web code (CSS, JS, HTML) for the purposes of the app development (UI, logic, etc...)
Cordova apps are the same as Hybrid apps, only you use standard Cordova approaches and tools rather than IBM's and use a provided SDK.
In both Hybrid and Cordova, the CSS, JS and HTML are referred to as web resources.
In the case of IBM MobileFirst Platform there is a feature called "Direct Update" which allows you to update these web resources without the need of uploading a new version of the app to the app store(s). The update is sent to the device/app from the MobileFirst Server.
Found this thread, what do web resources refer here? Is it the HTML,
CSS, JS? I believe it refers adapters code?
This is not adapter code. This is app code. See above.
If I update the mobile application code (for example, for the HTML,
CSS, JS only), I believe I need to update directly to store just like
the mechanism of uploading pure native mobile app?
You could, but for such updates you can also use Direct Update, explained above.
Read more here:
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/advanced-client-side-development/using-direct-update-to-quickly-update-your-application/
http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.dev.doc/dev/c_configuring_customizing_direct_update.html
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
How do I can create an API with laravel 5, That will be used for login /register for mobile app? Is there any useful tutorial for this type of API.
Like when someone sends a request from a mobile application, I need to authenticate and then send the proper response against that request.
I've made a very simple version in jQuery format as for example and hosted on GitHub.
Here are all the changes from a fresh Laravel: See all changed files
Feel free to adapt to your code.
You can check the step in each commit.
Create the project (Don't forget to run php artisan make:auth)
Make login support AJAX request (instead of auto redirect) 1a47de4
Login with AJAX (submit login data via AJAX, Please CSRF token header) 80be34d
Make register support AJAX (same as step 2) 89f6dd7
Register via AJAX (Same as step 3) ab8d2d7
Use redirect path from Laravel (Bonus) 27b9a1c4
By the way, for the mobile app, you may need to use access token instead. My example is for web app session. Laravel already have the particular method already just twist a bit.
If you need to create a login register with laravel you can simply use the Heto Multi auth.. All the required details are there..
Heto Multi Auth
Hope This will be helpful
There is a popular tool named - Dingo API which is specially created for Laravel / Lumen Frameworks and is meant to provide you, a set of tools to help you easily and quickly build your own APIs.
The package provide you with these set of features:
Content Negotaition
Authentication
API Versioning
Throttling
Formated / Transformed Responses
API Blueprint Documentation
and much more.
You can find the full documentation of Dingo API here >>
Creating a REST Api on Laravel isn’t very difficult. All we need to keep in mind is that where to start and how to prepare RestFull resources. As usual, you can follow this link: Build Rest Resources With Laravel
And if you want that your API works with Mobile Applications you should use tymon/jwt-auth package.
you can find the tutorial to work with laravel and tymon/jwt-auth in this link: Create an API Server for Mobile Apps using Laravel
The tymon/jwt-auth contains:
Installation of the package.
Configuration
Creating Tokens
Authentication
And the link for tymon/jwt-auth package is:
tymon/jwt-auth package
Here is a solution that shows how to set up register/login/logout endpoints but he changes it slighlty so we don't get the nice effects of too many login attempts etc. https://www.toptal.com/laravel/restful-laravel-api-tutorial
I am still looking for a tutorial on how to do this, will share when I find.
Does Domino Designer could develop App on IOS or Android? I want to deveop approval workflow with Lotus Domino Designer, and could be installed on iPhone or Android mobilephone. I don't know whether could realize??
If your question is "can I write (on my own) a (native) mobile application and connect to Domino" then the response is yes you will probably use ajax and not Xpages.
If your question is "can I open on my mobile device a Xpage that I wrote on Domino" then the response is yes, but strictly it won't be a mobile app but a mobile web site.
If your question is "can I use my HTML5 web site on Domino to make an hybride application" (many tools can help for this like ionic or other frameset) then the response is yes.
If your question is "is it simple, can I build without special knowledge of the mobile Andoid IOS world an application base on my knowledge of Xpages" the response is really no!
I'm trying to understand how programs like PhoneGap and Adobe Air work, that allow you to 'write once and run anywhere' on mobile platforms. The way I understand it now is that you build your application as a web app using either HTML5, or flash, or I don't know what, and it takes in those files and converts them to the proper types for each mobile OS. Assuming this is correct, what I would like to know is, what the options for developing web apps that are able to be converted into apps are; and what the most popular platforms to use/learn flash, or html5, or JavaScript, or I have no idea what are.
I want to build a web app to deploy across multiple phone platforms, but I don't know where to start. Thanks for the help!
You use tools like PhoneGap to access native device API's through JavaScript. If you don't need access to these API's you can write a HTML5 app and install it using "Add to home screen" etc.
As HTML5 matures, more and more of the device API's are actually directly available through HTML5 (for instance GPS), so depending on what you want to do access it might be in/scheduled to be part of the Device API.
Write once and run anywhere
There are different frameworks that lets you deploy to multiple platforms through the device specific install process. These tools usually work in 2 ways. Run in an embedded browser, or compile to native code.
PhoneGap runs the HTML5 part of your app in an embedded browser. Other tools like MonoTouch actually cross-compiles to native code, so they run on the bare metal.
Cross platform using HTML5
There are plenty of frameworks you can use to make mobile apps with HTML5. These usually help make the app "feel native", and includes abstractions over device specific idioms that differ between the different devices.
Popular frameworks includes Sencha Touch, JQuery Mobile and a bunch of others.
If you want the users to install the app through the AppStore/Market etc. then a solution like PhoneGap is a good option. If you don't care about that you can write your app and add a meta tag like
<meta name="apple-mobile-web-app-capable" content="yes">
and when you add it to the home screen it'll look just like any other app and run in an embedded browser without the browser window etc. You can add offline capabilities using HTML5 and synch when users go on-line etc. all just using HTML5.
Have a look at the Sencha touch app gallery to see what is possible with this technology.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I will need your valuable advice on developing mobile website for mobile devices. I've never developed any website for mobile devices, and that's why I will be so pleased if you could share your thoughts with me. My questions are
Can I assume that using html5 is safe and my web application would run on the most of the mobile devices web browsers? If it doesn't which one is the most supported standard so I should consider using it?
Is Javascript supported on most of the mobile web browsers? Is it safe to use javascript on my web application?
What is the most used web browser on mobile devices? Which one should I take into account, the mobile device OS and Model or the web browsers used on mobile devices ?
How can I compile my web application for more than one mobile web browser / or mobile OS (whichever is applicable)
Is there a nice book on developing mobile web sites for cross platforms?
Thank you so much, looking forward to your answers.... Cheers
The compatibility of mobile sites is one of challenges in mobile web doevelopment. Since there are a lot of devices that have different browsers and browser engines.
HTML5 is now getting popular for developing mobile site. As far as I know, devices that work well with HTML5 is : Android, iOS, Symbian > 3rd edition, Blackberry with OS6, WebOS, and Windows Phone 7 (though it has very limited support). The other standard used is XHTML MP which work with low-end to high-end devices. But XHTML MP has very limited features compared to HTML5. I usually creating 2 mobile site, one for low-end with XHTML MP and one with HTML5 for mid-end to high-end.
Not all mobile web browser support JS. For low-end devices such as early Nokia s40 it doesn`t support JS. But for higher end devices, it support JS. When a browser support HTML5, it also support JS :D
I don't know the exact answer for it. But you might take a look at http://jquerymobile.com . jQueryMobile is a framework for creating mobile site for phone and tablet it has also the compatibility comparison at http://jquerymobile.com/gbs/
For books, I don`t know good books for it. But you can get a book for jquery mobile here.
Hope this helps you and correct me if I am wrong :D
I would recommend using a responsive design framework such as bootstrap
which is very popular. It based on HTML5 and very easy to use.
You can also use a cloud platform like simbla to create responsive website applications.
Hope thats helps
Cheers
I am new to Dojo. Dojo provides a way to develop Web app for mobiles.
Just I want to create Hello world app with Dojo.
Any one help me????
look at this resources, i think it will be helpful
Dojox.mobile test pages - Several samples showing how to use various features of dojox.mobile.
Dojox.mobile Documentation
API Reference for dojox.mobile
Instructions for installing and configuring the Android Device Emulator. You can use the emulator to test the application if you don't have access to an Android device.
Visit the Safari Reference Guide or tips on building web applications on the iPhone