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.

17 questions
15
votes
6 answers

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) so I can do most of the work when it comes to…
Finlay Roelofs
  • 261
  • 1
  • 5
9
votes
4 answers

Is it worth developing custom shopping cart?

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, Opencart, Zencart) shopping carts in different…
5
votes
5 answers

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 an a more DRY principle. In CakePHP MVC: you…
lordg
  • 247
  • 1
  • 5
4
votes
2 answers

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 the controller to the element via the view using…
Scott Mc
  • 143
  • 3
4
votes
1 answer

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 processing. Here's the scoop: The app I'm…
3
votes
8 answers

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 small applications (like blogs).
mvbl fst
  • 133
  • 1
  • 5
3
votes
2 answers

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. The local systems are behind a firewall that…
Sultanen
  • 101
  • 6
2
votes
3 answers

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 sense to rewrite the views with a template engine,…
dandrews
  • 123
  • 1
  • 5
2
votes
2 answers

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 method without having to hack and repackage. So I am…
Chuck Burgess
  • 386
  • 4
  • 7
1
vote
1 answer

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 own website. There are 2 ways I can think of right…
abhi
  • 97
  • 1
  • 9
1
vote
0 answers

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 sections available I'm using CakePHP, by the…
Mark
  • 111
  • 6
1
vote
1 answer

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 same columns your own suggestion (keeping in…
1
vote
3 answers

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 voila). However, up until I learned about PEAR…
kdub
  • 119
  • 4
1
vote
2 answers

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 less time on actual coding, without losing…
The-Di-Lab
0
votes
1 answer

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 functionality (add,edit,view,delete) to the main admin…
shaheer
  • 103
  • 3
1
2