How to go about integrating Foundation framework (for front-end) into Yii framework (for back-end) - yii

I want to integrate the Foundation (5) front-end framework with the Yii (1.1) PHP framework for developing a web application.
Since i am new to both of them and learning to use it as i move along with the development, I am unaware as to how will i be able to use both of them for the same project.
Logically speaking i understand that the Foundation 5 directory has to put into the Yii project directory structure. But i am not sure as to which directory to use in Yii project for that.
I tried researching on the web, but since i am new i am not able to understand which is the right way to go about achieving what i intent to.
Step by step instructions to do it would be appreciated. Thanks in advance.

First you have to realize that Foundation is just a collection of html, css and javascript. So you use it like every other html, css javascript in Yii.
Then if you are learning do not create something yourself for now. Use something that somebody else has done: http://bootstrap3.pascal-brewing.de/ Here are instructions for using twitter bootstrap (another kind of Foundation) in Yii. With examples and everything. Start using it, be happy that you manage to do stuff right away... study the code when you get stuck, understand what happens in there.

http://yiifoundation.2amigos.us/
They have done a good work in packaging it as an extension for yii.

Related

requirejs support for remotely loaded dojo with ArcGIS/ESRI

I'm working on a project with ArcGIS/ESRI in WebStorm. According to the documentation, "Dojo is included with the ArcGIS JavaScript API so there is no need to host/reference/install it." This means WebStorm has no idea what require is:
How do I add support without installing Dojo/require?
Was just going to comment, but can't yet?! Anyway, I had to reengineer my web-site dev-ops to account for the ESRI javascript API. I am using 4.6 though...
The API, which includes dojo, may be installed, but it has to be configured into your site. Once you reference dojo/dojo.js, all will be good. But you need the config set-up first.
Start here:
https://blogs.esri.com/esri/arcgis/2015/11/13/using-bower-for-custom-builds-of-arcgis-api-for-javascript/
https://blogs.esri.com/esri/arcgis/2015/11/13/using-bower-for-custom-builds-of-arcgis-api-for-javascript/
There is a link to the API javascript resources. This will really help understand the process!
https://github.com/Esri/jsapi-resources
Also don't miss:
https://dojotoolkit.org/documentation/tutorials/1.10/modules_advanced/
https://dojotoolkit.org/documentation/tutorials/1.10/dojo_config/
http://dojotoolkit.org/documentation/tutorials/1.10/build/
I am just getting this stuff "almost" working. And actually had a build question to post and saw this. Hope it helps. I was using AMD and thought I had to go the requirejs route, but the dojo stuff worked out better for me. Check them both out and see what works for you! Good Luck!

Migrate from dojo to standard bootstrap admin dashboard theme

I am using a php dojo v1.4 project with mysql as backend.
The UI looks very basic.
I need to migrate this project to a standard bootstrap admin theme.
What are the steps I need to do?
If backend and general architecture of your application will remain the same, I'd suggest you to start building new UI from the scratch. When it finished, write missing functions, which were previously implemented with dojo using jquery (which comes with bootstrap) or whatever you like.
I assume, that you are not going to use dojo anymore.
If you are facing some specific difficulties, you'd better provide more details in your question.

Bootstrapping Aurelia

Finally, I start to work with Aurelia. There is a starter kit available Here which facilitates initializing Aurelia. But it is a template which should be used within a Web Site template.
I have a pre-configured WebApi project and I want to use Aurelia in it. I've just added the starter kit files and folders to my project. But unfortunately it shows 27651 errors fo files in jspm_packages.
What am I doing wrong? Is there any Nuget bootstrapper for Aurelia available?
Start with the aspnetcore template from Here
You can use web api from the template.
You will be up and running in minutes.
If you are using Web API, starting from an MVC5 project might be faster.
The following link is an Aurelia starter kit with MVC5.
You will have to update it to the latest version of Aurelia, but I managed to make it work with web api 2 and oAuth authentication.
https://github.com/rmourato/Mvc5-Aurelia
A tutorial can be found here.
http://ruimourato.com/2016/01/26/running-aurelia-on-mvc5.html
Hope this helps.
Well you asked what the errors are from. First thing is that you should exclude the jspm_packages folder from VisualStudios solution explorer Right click on it and mark 'exclude from project'.
Next, setup your project on source control (git) if not already and add the following to your git .ignore file
jspm_packages/
node_modules/`
I would suggest creating a second project aside from your WebAPI project that can contain static html, css and js files and do your Aurelia application there separate from your Web API project but in the same solution.
I could possibly give you a solution that is already setup, that shows how to use web api along with aurelia. But it would take some time for me to setup.
For all of my projects using Aurelia, I use the aurelia-cli which you get through npm and I would also recommend this approach.
You can be up and running with hello world in under 5 minutes.
You will then be able to build all the appropriate bits and pieces to talk to your api.
http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/the-aurelia-cli/1

Can we use any javascript framework to build maximo anywhere app

Mobile First supports any javascript Framework like DOJO/Sencha/jQuery/AngularJS. So is it possible to build new maximo anywhere app also through any above mentioned JS Framework?
The answer is Yes. The mentioned frameworks are frontend/client-side frameworks and as such have no relation to the functionality that MobileFirst and/or Maximo provide you with. They relate to how the app looks, not what the app does.
Yes but, please understand you could have to rewrite some of the ANT scripts used to build the apps. I haven't attempted this yet, and would love to hear your feedback as to what you find. I'm not a fan of dojo and would like an alternative like ionic too!

How to run a Sencha Architect MVC application in Liferay

Does anyone have any information on how to properly run a Sencha Architect MVC app in LifeRay?
Designing, and running an app using architect(in a simple local apache server for mock up purposes) seems to work perfectly. My problem is trying to convert this over to use our LifeRay portal(ver 6)
I have tried to use Senchas build tools to create a jsb and build all into one JS script, but that seems to be missing required classes, and it says it is missing files,
"NetworkError: 404 Not Found - htp://localhost:8080/web/www/senchaTest/view/MainViewport.js?_dc=1350398599155".
I have been searching for good info on how to run a Sencha MVC app in liferay, with the proper setups, but have not found any information out there.
Can anyone point me in the correct direction?
All the application which follow the JSR-286 standard can be intergated with liferay,does your application follow the JSR-286 standards?