I am totally beginner in mobile frameworks. I do not understand how to use use application i build using IntelXDK?
They offer build for different mobile platforms. As a result i have dmg (for) and zip files (WebApp).
I need to upload them to remote server.
How to make a functioning website from said files?
Actually, i also want to add Symfony2 back-end.
Do i have to add back-end for each build separately?
Seems that *.dmg files are programs to be run on Android.
For website build, you just have to upload zipped build and than unzip it in your server sub-directory and website will be working.
Related
I'm working on project using React on client side and PHP on server. I'm building client using webpack but my problem is that I'm not sure what's the right way to "import" .php files. I want to post to them using axios, so I need to know their place in my project structure. But if I run "webpack" my files will land in /dist folder. For example from component the path to php file would be "../../dist/php/getItem.php" but after webpacking it will change.......
How can I make some kind of special folder for php files, that would be available for me before as well as after building my components? I've found "file-loader" for webpack but I can't find any example of using it for php files.
I hope I explained my problem
I want to make desktop .exe of web application like laravel web application or php.
Look into PHP Desktop
https://github.com/cztomczak/phpdesktop
This project that was created to provide a way for developing native desktop GUI applications using web technologies such as PHP, HTML5, JavaScript and SQLite.
That said, Laravel is a web application framework, and is not optimized to be run as a desktop application out of the box.
I would consider something like Electron:
https://electronjs.org
To name a few of the applications created with this wrapper:
Slack
Github desktop
Atom editor
Visual studio code
...and more.
Please note that this is just a wrapper for the frontend of your application. While you can still use Laravel as a backend API for your application you would still need to build the application itself as a separate javascript frontend.
If you are familiar with VueJS that ships with Laravel you should be able to use that framework for your Electron-frontend.
A couple of tutorials that might be interesting for this approach:
https://scotch.io/tutorials/create-a-desktop-quiz-application-using-vue-js-and-electron
https://www.toptal.com/laravel/restful-laravel-api-tutorial
Making desktop .exe of Laravel application is easy!
GitHub Repository: https://github.com/laravelarticle/laravel-desktop
Download the repository & extract.
Put your Laravel application into www directory.
You can use this : https://github.com/cztomczak/phpdesktop
and then check Downloads section for more detail.
When you download this extract it on your wamp or xamp then put your code in www and check you can run your app by clicking on phpdesktop-chrome.exe its just simple.For more details you can ask any query.
I am sorry for this such question as I am still a fresh beginner in Phonegap.
I have followed some tutorial both for the installation and the jquery.mobile usage.
There are some parts (the biggest part) that I am confused with this Phonegap. And it is about the directory structure.
I am working with Private PHP Framework from my department, that is why I used Lamp Stack for all of this.
However, with the Phonegap tutorials I have been following this far, it looks like it have a little bit different environment structure from usual. It have five default directory as follows:
Hook
platforms
Plugins
www
In where the working directory for this Phonegap must be in the www directory.
It makes me afraid because our Apache Environment require us to put the directory in costume folder (Not in var/www), and then also the PHP Framework require us to put the module in a specific folder.
Please, I just need an enlightment for this Phonegap, how do you access the files and where do you guys put it.
Many thanks in advance.
As requested:
Create another vhost that points to www. You don't need to worry about hook, platform and plugins which are cordova/phonegap folders. Let them all at the same level (don't change the structure, just point the vhost to www).
The structure of cordova/phonegap is simple. Inside the www folder will be all your programming logic to build yours mobile app.
But beware, the cordova/phonegap does not compile code in PHP, it just uses a webview (like a browser) to run your mobile application developed with HTML, CSS and Javascript, packaged in a apk with access to native features of the smartphone/tablet, basically.
To make your application to communicate to the server in php you have two alternatives:
1) Making your app to access a URL that points to the application
developed with PHP and render its application in webview.
2) Create all purely on HTML, CSS and Javascript and make
communication via ajax, or socket or something similar to the server.
I'm currently working on a project which involves:
Downloading a zip file from an API (bing ads, to be specific).
Unzipping the file (to get a csv), editing it and making database queries.
Re-zipping the file and uploading it back to the API using a service similar to the one used to download the zip file in the first place.
I'm restricted by the client libraries of the API to write the project in PHP. I've already written the project to run locally, and hence store the files on my hard disk.
However, I want to have the whole process running on-line. I've tried to use the Google App Engine, but the zip archive class doesn't seem to be working (although it does work locally).
I don't have much experience with putting apps on-line and I was wondering if anyone can point me in the right direction.
Thanks!
I have one web application using drupal.Now i am trying to make the same application in to android application. So I need to convert the drupal php files into core php file
Is it possible or can I use the same drupal php files into my android application
Please anyone help me in this because i have less idea in PHP and drupal
First, if I understood you correctly, you are wanting to write up your drupal project so it can be accessed from mobile. Let me assure you, you generally do not need to rewrite much to have drupal accessible on mobile. Of course this would not be a native app, but many themes have great built-in mobile support. see [this list for a few examples].
Themes like adaptive and corolla makes it quite a breeze to push mobile content.
To recap, you would need to have:
Your site hosted on a webserver
Your drupal site fitted with a mobile / adaptive / responsive theme.
And you would be able to access your project from mobile.