Friday, August 26, 2011

Simply Getting Started

Hey everyone,

These are going to sound like terribly straightforward questions, but
I'm just starting to use CakePHP. I really like the idea of the way
that it operates so I've downloaded it unpacked it and uploaded it to
my web server. It's all connected to my database and I have made a
home.ctp and a default.ctp layout page as it instructed me to. My
first question is, simply how do I add a stylesheet to my layout? I
saw the $scripts_for_layout reference is inbuilt and that you can
reference a stylesheet as html=>css etc. but where do I have to
reference the stylesheet for it to come up as part of the
$scripts_for_layout function. Is it part of the appController? because
I also don't seem to have any controllers in my controller folder as
standard (or is that something I have to create myself.

Also, when I was looking around for a good tutorial to follow in order
to get Cake set up on my web server, I saw a lot of tutorials about
'cake baking'. Now I simply put mine online and got everything
connected, I have no idea how i'm supposed to go about 'baking' my
application, or if it is even necessary now that mine is up online and
connected to a database.


I know these must sound like ridiculous questions, but I really am at
a loss and just want to get started with properly experimenting Cake.
Any help you guys can give would be greatly appreciated.

Many thanks.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: