Questions tagged [cakephp]

CakePHP is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Different approaches for user levels

I'm writing a simple web application that allows users to login on different levels. Example: admin: may access to everything in read/write manager: some sections are in read/only operator: only few ...
15
votes
6answers
1k views

Keeping “code” away from designers?

I build quite a bit of projects with a friend of mine, but we always come to the same pitfall over and over again. I know how to write PHP, Javascript and all that of stuff (I also know CSS and HTML) ...
3
votes
2answers
542 views

Deploy PHP application on customer server independent of the envirorment

Our company has developed a PHP(CakePHP) "Cloud" application that is running on our servers, now we have some customers that would like to use our service and make integrations to their local systems. ...
0
votes
1answer
252 views

Version controlling of a web project

We (2 developers) are developing a cakephp app that is running on a remote server. In NetBeans we both have project set up as "PHP application from remote server". The problem is that whenever one of ...
1
vote
0answers
46 views

Are Components ideal for packaging and reusing find() requests?

I find myself loading several models over and over again throughout my application. Instead of typing the code to load the model, run a find, would it be reasonable to put that code in a method and ...
-2
votes
1answer
91 views

Deleting dynamic elements from a database [closed]

I have a select dropdown, with '+' and '-' buttons that add and remove items before submission. I would like to be able to remove the elements with the '-' button after they have been added to the ...
1
vote
1answer
847 views

Store data for multiple User Type

I am developing an app where four types of user share same module. So is it a good idea to create: one table and user_type and user_id (something like that) table prefixes basically 4 diff tables of ...
4
votes
1answer
2k views

CakePHP: Automation triggers after save - best done as component or behavior?

Folks, first time on CodeReview - just looking for some input in creating some automation in CakePHP, wondering if this is best used a component or a behavior. It's model driven but involves logic and ...
2
votes
3answers
3k views

What are the advantages of using a template language?

I work on a CakePHP app and the views consist of raw html with embedded php echo statements, which over time has gotten rather messy. Before I go in and rewrite the code, I'm wondering if it makes ...
1
vote
3answers
589 views

PHP common uses for the Command Line

I started with PHP a little while ago. I've been doing a lot of tutorials, practice sites, etc. and it's going great. One thing I like about PHP is how easy it is to get started (downloading WAMP and ...
2
votes
2answers
367 views

Architecting Challenge: How would you write an opensource script installer to run in a browser?

I currently have an installer that works, but I have to repackage the open source apps and hack things together to get the installer to install them. I want to be able to use the apps installation ...
1
vote
2answers
143 views

CakePHP pair programming practise

We are on the stage of planning a CakePHP project. It is a relatively a big project for us, as a developer+project manager, I want to hire someone to work with me. But what I really want is to spend ...
4
votes
2answers
721 views

CakePHP - Element Overkill

While implementing a flash game portal I decided to "component-ize" my views. The repeating elements were a no brainer and the templates for these were placed in elements. I pass through data from ...
9
votes
4answers
4k views

Is it worth developing custom shopping cart? [closed]

We have handsome library of cakephp modules at my workplace, and we develop custom websites at good pace until the shopping cart comes our way to slow down the process. I have used various (Magento, ...
5
votes
5answers
1k views

Multi MVC processing vs Single MVC process

I've worked fairly extensively with the MVC framework cakephp, however I'm finding that I would rather have my pages driven by the multiple MVC than by just one MVC. My reason is primarily to maintain ...
0
votes
1answer
2k views

cakephp admin panel, different controller for different group of tasks or one for all?

I am writing an admin panel in cakephp I got a question the panel will have the functionality to add items to the main website (images specifically) so I am wondering if I should put all the ...
1
vote
1answer
3k views

Best ways to generate an embed code

I am developing a small web application in CakePHP which allows user to create contents using tools I provide. Once user is done creating the contents, I want to give an option to embed that in her ...
3
votes
8answers
3k 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 ...