Can I design web or HTML pages(with Javascript & css support) using IBM Bluemix? - ibm-cloud

We are new to IBM Bluemix & Cloud based PAAS.
We are learning about application development & deployment in IBM Bluemix.
Our Target technology stack is Java, PHP, Python, Javascript, CSS (Style sheet for web pages).
Can I design web or HTML pages(with Javascript & css support) using IBM Bluemix ?
If this option is present, then I can develop web pages faster and get my applications immediately to prospective customers.

All the technologies you have mentioned can be supported in Bluemix by using various buildpacks. For the HTML based project (Javascript + css) you can use the Liberty Runtime. Just go to the Catalog and create an application using the Liberty Runtime. This will give you a skeleton of HTML application you can build on.

Related

Migrate SAPUI5 Fiori application from Neo to Clould Foundry

I have some SAPUI5 Fiori applications developed using SAP WEB IDE in the Neo platform. Now I need to migrate those applications to the cloud foundry environment. So far as I checked there are few differences in the application files of NEO & Cloud Foundry.
eg:
Neo has neo-app.json and cloud foundry has xs-app.json
Are there any guidance or information related on correctly migrating SAPUI5 apps from Neo to Cloud Platform.
There are indeed not that many differences but there is some different handling in terms of tooling files, etc ...
I would propose to create a new multi-target test project using the provided standard templates and then add a UI5 test template subproject.
That will give you an idea of how the CF UI5 project structure looks like and which files are being generated.
It also depends on whether you are going to use the new HTML5-repo application architecture or not. That newer format has more impact and changes under the hood.

Creating HTML5 applications in SAP cloud platform

I am new to SAP CP. I have built a webpage which has html, css and js files. I want to deploy the same in SAP CP and then do the backend (js) and bind to the hana database.
A few doubts regarding the same:
Can I deploy the same as HTML5 apps in sapui5 or I need to package it
as a war and deploy to Java apps?
How can I Bind a database to the same?
Also please note that I have not selected any template from sapui5 its an custom project the whole idea is to run a htnl5 web app in sap CP.
Any guidance will be great.
There is no need to use a war and deploy it as a Java app here as this is pure HTML5 app.
With HTML5, you would usually consume database content using REST API (OData for example) that you have exposed and not via direct SQL like you would do in Java with JDBC.
Therefore you won't bind a database to a HTML5 app, but a REST API endpoint that will provide the database service you expect to read/write etc from.

Is it possible to deploy SAPUI5 / OpenUi5 Apps in Web server other than ABAP AS?

Is it possible to deploy SAPUI5 / OpenUi5 Apps in Web server other than ABAP AS?
SAPUI5/OpenUI5 is just an html5/javascript framework.
Of course you can use other types of web servers.
As it states in the OpenUI5 FAQ:
2) Where can I deploy my OpenUI5 apps?
In terms of a frontend toolkit, all you need to deploy and run OpenUI5 applications is a standard web server.

Standalone ServiceStack service for Web & Native Mobile App

Our architecture consists of several backend (non-ServiceStack) services and applications that send data to our system via ServiceStack service hosted in asp.net - this is currently a standalone ServiceProject project containing our required Services/Repository/DTOs following the structure of all the provided ServiceStack samples.
With our backend complete we're now designing our two front-end requirements consisting of a web application and native mobile application. For the web application I'd really like to continue leveraging ServiceStack by using the Razor plugin to create the application's layout/views from our existing DTOs, for our mobile app we will only rely on the ServiceStack service for authentication and data - as it is native it's layout/views will come from it's own SDK.
Can I leave my standalone ServiceStack service as is and:
Create a separate web application project that authenticates
against our existing standalone ServiceStack service and uses the
Razor view plugin?
Have our native mobile app clients
authenticate against the same standalone ServiceStack service?
Most of the examples ie. RazorRockstars I've seen have the services embedded in the web project so I'm not sure if this distributed type of setup is supported. Any guidance or feedback on this is greatly appreciated!
It is very much possible. You can consume the web service from both, web and native mobile application. I worked in a ASP.NET MVC web application which used to make call to Web API service hosted at different server. The Web API service was shared among multiple applications. We were consuming it by making AJAX calls from client.
Something similar to your scenario is done at below link but they are using cloud to host service:
http://www.codeproject.com/Articles/529109/Mobile-2fWebplusClient-2cplusWebplusAPIplusandplus
If you have opportunity to make a web app for mobile instead of native app, then in a single solution both mobile and desktop app can be created. The exemplary solution can be found here: http://nopcommerce.codeplex.com/
Thanks and free free to discuss more in case of further questions.

Google Web Toolkit on a standalone server

Our team is planning on making a thick client into a web based UI. We are researching the various options and GWT is something that we are researching. I have a question if GWT can be deployed by itself (meaning, does it have a built-in web server that can be deployed as a solution?) Appreciate thoughts about it.
Thanks in advance.
If your application is completely client-side and does not need to communicate with a server (for data purposes), then you can use any web server. GWT compiles to static JavaScript files, so you can use apache or any other web server to serve up the static files.
If there is a server-side component to your application then you'll need a servlet container.
No built-in web server really except for the development platform which include one... but it's not meant for production.