The codeigniter tag has no wiki summary.
1
vote
2answers
96 views
Does a group of Select Statements count as a valid model?
I'm making a facebook app and I'm trying to follow MVC properly. But I was wondering if I had a class that was a bunch of fql queries (getting data from facebook) should I have keep these in a ...
2
votes
1answer
235 views
Migrating Web based projects from Java to PHP
At our work place after hours of coding, testing and QA we have successfully added a couple of software tools in our product line. We specialize in web based software solutions so in order to tap on ...
2
votes
4answers
482 views
php templating with codeigniter
I am currently develop a website application in codeigniter, and I'd like to do something in PHP / CodeIgniter where I can make a common template for separate sections of the website. I was thinking ...
1
vote
3answers
244 views
Pass around record ids in the url in PHP
I'm doing a PHP application with CodeIgniter and most of my controllers accept record ids as parameters for retrieving purposes.
I also pass record ids in my forms action.
Like this: ...
0
votes
2answers
138 views
What is a good technique to prevent unauthenticated users from accessing controller methods?
I have an event(s) controller:
class Event extends CI_Controller{
public function index(){
}
public function foo(){
}
//Shouldn't be able to use this method unless logged in
...
-1
votes
1answer
198 views
Why should I use the function migration in codeigniter?
What is wrong with using database tables with phpmyadmin or mysql? What are the benefits, if I'll use 'migration'?
5
votes
2answers
529 views
Can REST API be used as business layer?
I am using PHP Codeigniter MVC design pattern
and I had this project with some sort of specific business processes
In my application I will be dealing with 2 existing REST APIs:
Google
Trello
...
4
votes
2answers
353 views
How to achieve N-Tier type in Codeigniter MVC
I know that N-Tier intended to separate layers on different network
but I would like to have the same code separation in codeigniter
I got this idea to have
Model : for database CRUD - > Data layer
...
3
votes
2answers
521 views
Codeigniter/MVC workflow
Bit of a workflow question.
I'm just staring with MVC and wondered how other people usually work in MVC? The 2 options I see is to code the model and controller completely first and then work on the ...
1
vote
0answers
169 views
Codeigniter modular separation with Phing
I am thinking of managing a product source I am doing using Codeigniter + HMVC.
Right now my folder structure is something like this:
application
|-modules
|-module1
| |--controllers
...
1
vote
0answers
403 views
codeigniter pagination - how to have multiple sets of pagination links on one view
Problem
I don't know how to create two sets of pagination links one view.
Background Information
I have a situation where I have parent / child tables that I have to display on the same view - ...
4
votes
1answer
3k views
PHP Framework for RESTful Web Service
I have been going round in circles with this question for days - which is the best PHP framework to use to create a RESTful Web service?
I've trawled the web for info and have come across three main ...
3
votes
1answer
315 views
How can I profile database queries from PHP?
CodeIgniter has a very nice feature called a Profiler, which displays information at the foot of a page, information such as GET, Memory, POST data. It also shows database queries and how long they ...
1
vote
1answer
89 views
Fitting an established site into a CI framework
I manage a rather large, feature full nightmare of a site which has no end of feature creep settings/options/etc.
Up to now its been coded in a procedural/functional way and would like to move to an ...
1
vote
1answer
401 views
Performing user authentication in a CodeIgniter controller constructor?
In "The Clean Code Talks -- Unit Testing" (http://youtu.be/wEhu57pih5w), Miško Hevery mentions that "as little work as possible should be done in constructors [to make classes more easily testable]'. ...