Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
27 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 ...
-5
votes
0answers
27 views

Code for posting notications to users in the website using codeigniter [closed]

I'm working on the module of posting notifications to the website users if any of their friends have added any item or performed any updates in their webpages. I'm totally confused with this MVC ...
2
votes
1answer
70 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
60 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
111 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 - ...
1
vote
1answer
458 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
189 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
71 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 ...
0
votes
1answer
284 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]'. ...
4
votes
1answer
2k views

How to Properly Make use of Codeigniter's HMVC

I have been having problems wrapping my brain around how to properly utilize the modular extension for Codeigniter. From what I understand, modules should be entirely independent of one another so I ...
2
votes
2answers
1k views

What is the correct way to implement Auth/ACL in MVC?

I am looking into making a correctly laid out MVC Auth/ACL system. I think I want the authentication of a user (and the session handling) to be separate from the ACL system. (I don't know why but this ...
-3
votes
1answer
1k views

CodeIgniter routing helping

Can you explain these two lines of code in applications/config/routes.php file in the CodeIgniter framework? $route['default_controller'] = 'pages/view'; $route['(:any)'] = 'pages/view/$1';
3
votes
2answers
689 views

Models per database table?

I am using codeigniter, and have found myself in a similar situation where I have repeated Model methods. I am creating a Model per Controller. But I would creating a Model per database table be ...
0
votes
1answer
177 views

Using frameworks or writing code without any framework ? Which is better for 3 months aged PHP programmer? [duplicate]

Possible Duplicate: When do I need to use a framework? When should I start learning a PHP Framework I started to learn PHP about four months ago, and I have been writing some applications ...
4
votes
2answers
467 views

Controllers in CodeIgniter

I little bit new to the CodeIgniter framework and this is my first project with this framework. During a chat on StackOverflow somebody said that we need to make controllers tiny as possible. ...
1
vote
3answers
430 views

create site with Codeigniter without database support

What approach could You suggest, If I don't have mysql or other database support on webhost, but I need to store data ( textual information ) for website somewhere. It's informative site for school - ...
2
votes
1answer
417 views

Is there a scalable multi-site strategy with codeigniter?

I've been looking for a efficient and secure way of enabling multi-site capabilities to codeigniter for a while. These two(one & two) articles I found pretty interesting, but they don't seem to ...
1
vote
1answer
790 views

Codeigniter + JQuery + Processing.js to replace a Delphi App

So, I've got a mandate to make our aged trillion lined Delphi app web based and it needs to make heavy use of the <canvas> element (HTML5 compatibility doesn't seem to be a big issue since we ...
3
votes
2answers
498 views

What license is applicable for an app based on CodeIgniter?

I am trying to fork an application that is based on CodeIgniter. According to the GoogleCode page, the license is GPLv3. However, examining the license.txt file inside the root directory of the ...
4
votes
5answers
271 views

Simple approach to Rails

I recently got into web development through the PHP framework, CodeIgniter. I knew some PHP before I started learning that framework and overall I found it very easy to learn. The CodeIgniter ...
3
votes
3answers
2k views

How to start with PHP and CodeIgniter? [closed]

When I'm writing code in PHP, I don't understand how to do it logically. Nor do I know where to start. I know basic things in PHP, and want to start using CodeIgniter framework, but I'm lost and don't ...
1
vote
1answer
287 views

where to get CodeIgniter views from

I just started using CodeIgniter I'm wondering if anyone knows where I can download pre-made views. For example right now I'm looking for an admin interface. I could write the code myself but I'm ...
3
votes
8answers
944 views

If you were to build an app like Craigslist, would use an off-the-shelf framework or write your own?

Title is the question. And why I am asking is because from what I read about most PHP frameworks (e.g. Code Igniter, Kohana, Cake, Zend) is that they're ether too complex, or are designed mostly for ...