Show DevBest [Release] CookieFramework- As basic as it gets. [Release]

Status
Not open for further replies.

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
CookieFramework
-By CookieMonsta

Introduction-
CookieFramework was a project I started earlier today because I was simple board. It's as basic as can be, so don't expect the work of god.

Features-
  • Basic MySQL connector.
  • Basic Config.
  • Basic page storing.
  • Bootstrap theme as default.
  • /file Url's.
Installation-
Just unzip the files to your htdocs, and edit includes/config.php.

Screenshots-
nqcrr.png

1b8f29290f024e22afabd18.png


Download-


Credits-
xElmo- Dev
CookieMonsta- Lead Dev
 
Jan 17, 2012
649
166
I'm confused. The presumed 'database class' isn't actually a class, it's just a file to connect to the database.
PHP:
<?php
/*
* @author: CookieMonsta
*
* @file: database class
* @projectname: CookieFramework
*/
 
$connect = mysql_connect($_config['db']['host'], $_config['db']['user'], $_config['db']['pass']);
    if(mysql_errno())
    {
        die('Connection to mysql failed. Go kill yourself.');
    }
   
        $grab = mysql_select_db($_config['db']['db']);
            if(mysql_error())
            {
                die('Connection to db failed. Go kill yourself twice.');
            }
       
?>
Other than that, I like the framework. The code is neat and easy to read, the folders are nicely arranged. I might develop on this.

Good job.
 

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
I'm confused. The presumed 'database class' isn't actually a class, it's just a file to connect to the database.
PHP:
<?php
/*
* @author: CookieMonsta
*
* @file: database class
* @projectname: CookieFramework
*/
 
$connect = mysql_connect($_config['db']['host'], $_config['db']['user'], $_config['db']['pass']);
    if(mysql_errno())
    {
        die('Connection to mysql failed. Go kill yourself.');
    }
 
        $grab = mysql_select_db($_config['db']['db']);
            if(mysql_error())
            {
                die('Connection to db failed. Go kill yourself twice.');
            }
     
?>
Other than that, I like the framework. The code is neat and easy to read, the folders are nicely arranged. I might develop on this.

Good job.
yh
 
Status
Not open for further replies.

Users who are viewing this thread

Top