Can I use spring liferay for mobile web development - spring

Can I use spring liferay for mobile web development?
This is very basic question but I tried on google but I can't find any tutorial on this. Can anyone suggest anything on this.

Yes you can use it I think, since Spring is a server side java framework and for mobile web-development I don't think you need to do anything special apart from customizing the look-and-feel of the page which can be done through themes in liferay.
Starting from Liferay 6.1 you can even define Mobile Device Rules.
For a quick demo of this you can go to Liferay site, and try to change the window size of the browser and then see how the page changes. Even you can try to view this site in a mobile phone.
Hope this helps.

Related

Host an ASP.NET Core MVC application in an Azure Function

I have tried searching for this online, but could not find an approach that works. There are a few helpful links to host a Web API but nothing related to a full fledged MVC app that consists of Controllers and Views. Azure currently does not have built in support for this. Hence, wondering if this is something doable.
It is possible to achieve this through the use of Custom Handlers. This blog post goes into further detail on how to create a custom handler. Do note that this feature is currently in preview so support is limited.

Is there any way to figure out the website whether it's made by using spring framework or not?

I know that there are some sites which can figure out which tools have developers used when they build the web site.
For example, I can figure out whether the site has been built with wordpress or not from this page www.isitwp.com
Is there any ways to figure out what kind of framework the web site is using? or figure out the web site which has been built by using spring framework?
How can I know?

Joomla - Creating a web service that can consumed by a Windows Phone 8 App

I'm building a Windows Phone 8 app that needs to get data from a website that was built on Joomla I believe.
Is it possible to create a Webservice that my app can consume?
Or is there a better way?
The Joomla version is 2.5.9 I believe
You will have to write a service layer in your CMS. Then data which are required for the android app will be exposed as a data service from your Joomla CMS. Please check the link for more info.
How to write a REST API?
Just in case you're not aware there is a range of critical bugs and exploits that have been fixed since 2.5.9. Your client should update to 2.5.16 ASAP as there is a well known exploit that can be used to effectively root the site in a matter of minutes.
After updating, you could look at the AJAX interface that Matt from Between Brain created for most versions of Joomla (it's actually part of the core from 3.2 onwards).
That would be the simplest way to get started as it provides a path in that can be authenticated etc and extending it to other non-core extensions is relatively trivial.

How to create a web application?

I have a question. I need to create a web application, which should work and look like a normal desktop app, so with windows, dialogs etc. without refreshing every time the site, but I am not sure what should I use for that. I have only a little experience with php (one rather simple site).
I suppose I need ajax on the client site to do that (maybe jQuery), but what should I use on the server site and how can I load e.g. whole page without refreshing site? Should I use PHP or python or something else? Maybe with some frameworks?
Thanks for any advice.
If you want to have rich client side interaction, consider using a MVC /MVVM js framework as:
backbone.js;
ember.js;
knockout.js;
angular.js.
Everyone has pros and cons, here you can find a smart comparison resource.
Once you download the bootstrap stuff [css, js, images], no page reloads will issue, and the app will flow like a desktop one.
All data is fetched from and persisted to the server: further request are made in JSON / XML format, in a RESTful fashion possibly.
You can setup such webservice in many many ways, among the others:
Sinatra (Ruby);
Symfony (PHP);
Django (python).
As I am more familiar with MS technologies I would use ASP.NET MVC, and then on the client side you can use Telerik controls which are good and free. jQuery is also a great option for the client side development. For developing ASP.NET MVC you can use the Visual Studio Express which is free as well.
However, I do not know your specifications. Maybe it would not be good enough for you. Another option that you have is using WPF (MS again), with which you can really develop very rich behavior web applications.

What has been the experience in making a mobile app using phonegap and CodeIgniter?

I'm looking at making a mobile app using phonegap. However, I would like to use CodeIgniter as well. What has been the community's experience in doing such? I have tried googling it but only seem to find resumes and job wanted ads! I intend to use CI with jquery-mobile. But I was wondering if i could use phonegap with it and package it as a android or iOS mobile app.
I assume you are using CI as your backend to deliver data back and forth between your mobile app built with phonegap + jquery mobile. If that is the case, whether you use CI or any other backend web framework, it should be pretty straight forward. You'll probably want to consider using JSON as your data format to keep data size down.
I would imagine RESTful web services would suit you well. Check out this guide on getting them working in concert with CI: http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/
I personally am using a CI + phonegap + xuijs stack now and its pretty straight forward in terms of communication.

Resources