The codeigniter tag has no wiki summary.
-3
votes
0answers
22 views
CodeIgniter routing - end slash [migrated]
Is there a routing rule in codeigniter, to remove the end slash of a url ?
I want my url look like this http://example.com
not like this http://example.com/
For the moment my urls are accessible by ...
0
votes
0answers
50 views
Why should i use a framwork to make a website if i can make it using a CMS? [duplicate]
Codeigniter it self is way lightweight compared to the wordpress. But with wordpress we are getting so much by default. We are having option to change theme, simple drag and drop from the admin panel ...
0
votes
0answers
29 views
Writing Models in PyroCMS/Codeinighter Models
In Pyrocms there are Admin views and User views.
Im developing a complex module where my model file is getting to be rather large.
Should I be abstracting logic in my model files to also be User ...
0
votes
1answer
764 views
Reporting Solution in PHP / CodeIgniter - Server side logic vs client side
I'm building a report for an end user.
They would like to see a list of all widgets... but then also like to see widgets with missing attributes, like missing names, or missing size.
So i was ...
0
votes
1answer
629 views
Slower Ajax Response
Does putting the view logic inside the controller increase page load speed? Because I have a controller action calling a view which I am loading through ajax and I am getting a very slow response. Why ...
0
votes
1answer
2k views
Making Class Diagram for MVC Pattern Project
I have a question about making a class diagram for an MVC based college senior project.
If we have 2 actors of users in my system, lets say Undergrad and Graduate students are the children of ...
1
vote
1answer
120 views
Helper functions - well defined inputs or well defined outputs?
Problem
In Codeigniter (PHP framework), I am trying to create a helper function that will inject an ActiveRecord (for MySQL) command into a chain of existing ActiveRecord calls. The reasoning for ...
1
vote
2answers
168 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
527 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
3k 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
1k 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
198 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
329 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
1k 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
1answer
765 views
How to achieve N-Tier type in Codeigniter MVC [closed]
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
1k 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
317 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
...
2
votes
0answers
846 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 - ...
6
votes
1answer
8k views
PHP Framework for RESTful Web Service [closed]
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
832 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
99 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
645 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]'. ...
6
votes
1answer
4k 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 ...
5
votes
2answers
3k 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
4k 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';
5
votes
2answers
2k 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
315 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
967 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
821 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
979 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
1k 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
999 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
355 views
Simple approach to Rails [closed]
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 ...
1
vote
1answer
425 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
1k 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 ...