Mm... another options is to make a admin/backend controller. What do you
think about an admin controller?
2010/8/3 keymaster ad...@optionosophy.com
we usually do two full installs of cake so that things are fully
separated
Don't understand why you'd want two copies of your code.
What is it
Create a separate admin.ctp layout, with associated js, css, images,
etc.
Bake your controllers and models without admin_ operations.
Create generic admin_xxx crud functions in appController.
Create a single admin_index element used by all controllers.
Use admin routing to require a login as
On Mon, Aug 2, 2010 at 6:27 PM, mike karthauser mi...@brightstorm.co.uk wrote:
hi hugo
making one application with front end and backend functionality is far
superior to creating and maintaining two apps.
it seems you might benefit from reading book.cakephp.org
mikek
Definitely from a code
We typically do a separate admin site on a subdomain. The two sites
can sometimes get quite complex and its just cleaner to separate the
two. The biggest benefit in my opinion, though is that you can work on
admin functionality without having to worry so much about touching/
bringing down the
On Mon, Aug 2, 2010 at 2:17 PM, Hugo M ham1...@gmail.com wrote:
Mmm yeah probably you are right because I'll need to repeat some models, but
there's alot of data I don't need in admin that is in real app
You don't have to fetch all the same data in admin actions as with regular ones.
Check out
we usually do two full installs of cake so that things are fully separated
Don't understand why you'd want two copies of your code.
What is it that has you so worried, you are bending over backwards to
protect?
The biggest benefit in my opinion, though is that you can work on
admin
Hi guys! I want to ask you what do you think is the best option for making a
backend. I have a cakephp site and I don't know if making admin_methods is
the best option. The other option is making another cake application just
for the backend, I think the code would be less confusing and it would
hi hugo
making one application with front end and backend functionality is far superior
to creating and maintaining two apps.
it seems you might benefit from reading book.cakephp.org
mikek
On 2 Aug 2010, at 16:44, Hugo M wrote:
Hi guys! I want to ask you what do you think is the best option
Mmm yeah probably you are right because I'll need to repeat some models, but
there's alot of data I don't need in admin that is in real app, and theres a
bunch of functions that probably would disturb me when I'm coding (I mean,
admin functions populating all my controllers :P).
2010/8/2 mike