Please I Need Help On Ionic Framework Working With A Cakephp Project. - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Please I Need Help On Ionic Framework Working With A Cakephp Project. (1077 Views)
1 Reply
| Please I Need Help On Ionic Framework Working With A Cakephp Project. by ehis05(op): 9:17am On Jun 07, 2017 |
Been asked to build a mobile app using ionic for a project that was done using cakephp, meaning i have to submit to different methods in the controller, Retrieve data as well with from different methods...Please is there anyone that has done something similar or have an ebook that i would find useful.. No much resources about this online..Thanks |
| Re: Please I Need Help On Ionic Framework Working With A Cakephp Project. by Nobody: 9:43am On Jun 07, 2017*. Modified: 3:27pm On Jun 10, 2017 |
// Create and load the Modal $ionicModal.fromTemplateUrl ( 'aboutus.html' , function (modal) { $scope.taskModal = modal; }, { scope: $scope, animation : 'slide-in-up' }) //get data from Json data feed do this for all data store .controller('feeds', function($scope, $http){ $http.get('js/data/feeds.json').then(function(response){ $scope.feeds = response.data }); // get data from json $http.get('https://www.example.com/feeds.json').map(res => res.json()).subscribe(data => { console.log(data); }); for the app.js .state('app.home', { url: '/home', views: { 'menuContent': { templateUrl: 'home/index.html', controller: 'homeCtrl' }) ; http://doc.ionicmaterialdesign.com open command prompt cd your_project_path/IonicMaterialDesign ionic plugin add cordova-plugin-inappbrowser ionic plugin add cordova-plugin-splashscreen import the code to your code editor u need to use the command for ionic app in browser plugin http://sourcefreeze.com/cordova-inappbrowser-plugin-example-using-ionic-framework/ window.location.href="http://Google.com"; can be use to link a site URL to an app. while window . open ( 'http://google.com); link the page to an external browser like chrome. Or this method. for rest api Incase the scrape data from your the website with Spinn3r or ParseHub in json and parse the data as an object in the app. Tools Cordova /intelxdk/phonegap need bracket or sublime text for Cordova/phonegap .Intel xdk is very easy to setup with many features. u can run ,build app using commands or phonegap build. Intel xdk will build it automatically and send the app to your mail . code and explore!!!!! |
Cakephp Web Developer Needed For Website Upgrade • IONIC 3 Cordova Build Android Apk Without Android Studio Install • Cakephp • 2 • 3 • 4
Fix Any Error On Your Website/script • Build Your Own Power Bank • How To Create Form To Email?