Using / Embedding Ember js with / in Codeigniter

I am about to start developing a web application using Ember.js as the front end technology and Codeigniter for the backend.

The problem I am facing is how to embed or use ember js with codeigniter. It is possible to expose JSON objects from codeigniter through webservices and use them from ember. But in this case, there may be a problem processing sessions and cookies. I do not know whether it is possible to embed ember in codeigniter and directly access data using any technique. I am also browsing the web but not getting any exact answer.

Which method should be used to embed ember js in codeigniter.

Thank.

+5
source share
3 answers

Basically, this is the same as using any other structure with Ember.js, sorta. The problem is that Codeigniter does not have built-in ORMs or good PDO drivers. Since it has not changed for many years, and it still uses the old version of PHP, it can be difficult for you. There were some improvements to the PHP library section using Composer (although it is insanely slow). You can use some of the most popular ORMs, such as Laravel Eloquent.

A few searches will bring this lesson up: http://mannyisles.com/using-eloquent-orm-inside-codeigniter.html

JSON, API. Ember Data. Ember Data API RESTful. , . , RESTful.

. . , , :

Ember, codeigniter. , Laravel 4, JSON API. Codeigniter.

+3

RESTful CodeIgniter... : RESTful CodeIgniter

, PDO CodeIgniter: Codeigniter PDO

0

Idiorm PDO CodeIgniter. , ., http://sfthurber.imtqy.com/cim-xa/

0

All Articles