-
novaCMS 3.0 "Mango" [PHP, MVC, PDO]
novaCMS 3.0 - "Mango"
Hey!
So I've decided to release my CMS, which I originally wrote for my hotel. It's secure, fast and looks great; it uses the Habbo theme! Here's a few screenshots:
Features:
- Logging in
- Quick registration
- Me page
- Account settings
- Community
- Staff page
- News articles
- Statistics (hotelurl/stats)
- Extremely easy to setup
There's also a start on housekeeping, however this is not anywhere near finished, I may end up finishing the housekeeping. This CMS works perfectly on both IIS and Apache, you may need to add a .htaccess for Apache however.
Feel free to request one. And this isn't full MVC, because of the fact I implemented "Dao's" instead of using models. Made it easier for me, seeing as I didn't think I'd end up releasing it. If you find anything wrong with this, please tell me and I will update the Github!
Download:
https://github.com/LeonHartley/novaC...ive/master.zip
How to install:
1. Change the settings in config.php, and make sure your web server root directory is the public directory within the CMS!
2. Run the SQL that's included with the CMS.
3. Enjoy your new hotel website powered by novaCMS 3.0!
If you liked it, please feel free to +rep and like! :D:
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Second post!
Looks awesome! :D:
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Nice CMS, thanks Leon :drool:
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Nice CMS, i hope the HK will be done shortly!
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Quote:
Originally Posted by
Twan
Nice CMS, i hope the HK will be done shortly!
Who said they'll be a Housekeeping?
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Quote:
Originally Posted by
ησвяαιη
Who said they'll be a Housekeeping?
I did.
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Quote:
Originally Posted by
Twan
Nice CMS, i hope the HK will be done shortly!
PHPMyAdmin is your housekeeping ;)
Good job Leon man, It look's nice & smooth. :)
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Quote:
Originally Posted by
Prizm
PHPMyAdmin is your housekeeping ;)
Good job Leon man, It look's nice & smooth. :)
Only fools use PHPMyAdmin in a live environment.
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
You should use HeidiSQL if anything. ;)
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Quote:
Originally Posted by
ησвяαιη
Only fools use PHPMyAdmin in a live environment.
Navicat*
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Hmm, looks good. And by good, I mean nice work. Continue to develop cms, I like it.
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Looks ok, but I'd love to see the new register.
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
I like :D I loved NovaCMS 2.0 or whatever, great alternative to UberCMS.
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Quote:
Originally Posted by
Quackster
And we'd love to see Carbon as well.
Read my signature, you read why I don't release it.
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
This seems nice and fast but it should have features like account recovery and the new registration page, that would make it more uniqe.
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
No problemmo, if you have any suggestions, please let me know.
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Your Mango/Application file could be shortened.. Not sure why every config variable is a stdclass
Code:
private function loadConfig() {
foreach(glob('Config/*.php') as $File) {
include $File;
}
$this->config = new stdClass;
$this->routes = $routes;
foreach($config as $key => $value) {
$this->config->$key = null;
foreach($config[$key] as $lk => $lv) {
$this->config->$key->$lk = $lv;
}
}
}
Another thing is that you could've used glob instead of typing out every include.
Usually in MVC, anything that isn't php goes into the public folder or another appropriate folder... Just a heads up!
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Quote:
Originally Posted by
Makarov
Usually in MVC, anything that isn't php goes into the public folder or another appropriate folder... Just a heads up!
The actual application is separated from what the client can access. All PHP files cannot be accessed by the client directly. :P
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Dont know, but why do i get if i put it all in my public map im getting no index.php...
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
Quote:
Originally Posted by
Twan
Dont know, but why do i get if i put it all in my public map im getting no index.php...
Make sure the /public/ directory is your document root (In your web server configuration; be it NGINX, Apache or IIS).
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
How can i set it for Apache, even when i go to http://localhost/public/ i get:
Code:
Fatal error: Uncaught [42S02] - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nova.site_config' doesn't exist thrown in C:\xampp\htdocs\application\external\redbean.php on line 696
Im using phoenix database and with your SQL file you dont get site_config table...
-
Re: novaCMS 3.0 "Mango" [PHP, MVC, PDO]
The GitHub has been updated, sorry about that. And to set it up with Apache, just find your apache.conf (or similar) and change the Document Root to include the public directory.
Due to some requests, I've added the .htaccess for Apache configurations.