Discussion in "Software" started by    romel_emperado    Dec 4, 2010.
Sat Dec 04 2010, 03:58 am
#1
hi all. 8s my firstime to work with web development and im trying to study in advance.
this is the template i am using
http://cakephp.org/

and i follow this tutorial but i cannot run and install because i cant connect to database.
http://book.cakephp.org/view/219/the-cakephp-blog-tutorial

pls give me some hints on how to do this.
Sat Dec 04 2010, 05:06 am
#2
I looked at http://book.cakephp.org/view/219/the-cakephp-blog-tutorial.
It took a while to load, but after that it seemed okay, so you should be
able to download now.

In the blog, it says users are expected to already be familiar with PHP.
It would may be better to study "normal" PHP, before using the cakephp system.
Try www.php.net.



Sat Dec 04 2010, 07:10 am
#3
thanks 4 ur reply phil
i just found out the problem

for me to be able to connect to the detabase i need to create SQL database , based on the setting I created in config below..

class DATABASE_CONFIG {

	var $default = array(
		'driver' =>
 'mysql',
		'persistent' =>
 false,
		'host' =>
 'localhost',
		'login' =>
 'root',
		'password' =>
 '',
		'database' =>
 'cake',
		'prefix' =>
 '',
	);


}


any1 can help me on php here? I will be updating this thread with question if i have doubts.. hehe


[ Edited Sat Dec 04 2010, 07:15 am ]
Sun Dec 05 2010, 12:06 am
#4



for me to be able to connect to the detabase i need to create SQL database , based on the setting I created in config below..

any1 can help me on php here? I will be updating this thread with question if i have doubts.. hehe

romel_emperado



This may be another reason to avoid products like cakephp.
PHP itself does not need a database to work with, (although it can work with them).

It may be that cakephp needs the database.
This adds a layer of confusion, making it harder to learn.
If you stay with cakephp you will learn cakephp, not standard PHP.

That said , if you want to continue, you can download MySql from the MySq website
and set up a database on your machine.
Getting the connection details right can be difficult, and I don't know what they are in this case,
but I'm sure you can do it
Sun Dec 05 2010, 04:25 am
#5




for me to be able to connect to the detabase i need to create SQL database , based on the setting I created in config below..

any1 can help me on php here? I will be updating this thread with question if i have doubts.. hehe

romel_emperado



This may be another reason to avoid products like cakephp.
PHP itself does not need a database to work with, (although it can work with them).

It may be that cakephp needs the database.
This adds a layer of confusion, making it harder to learn.
If you stay with cakephp you will learn cakephp, not standard PHP.

That said , if you want to continue, you can download MySql from the MySq website
and set up a database on your machine.
Getting the connection details right can be difficult, and I don't know what they are in this case,
but I'm sure you can do it

ExperimenterUK




In this case I need database becase I will upload accounts every client..
according to him before we get started I must spend my time practicing this cakephp.

they always using open source software as i observed. there toolchain, OS and other applications are open source...

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

AntoniaRoons
Fri Apr 19 2024, 09:59 pm
carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am