RevCMS 3.0 [PHP, MVC, Multi-Support]

Status
Not open for further replies.

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
revpack_teamrev_dark_signature.png
F6JAy.png

Hello,

Since RevCMS 1.X and further are fully working and there are less and less bugs to fix, I've decided the time has come to do a complete rewrite of RevCMS, this means that I will not work on RevCMS 1.X anymore and just spend all my free time with RevCMS 3.0

RevCMS 3.0 is a lot different from older versions, besides the template system, which I found very user-friendly and easy to use, thus I decided not to code another one. Although I have made it very handy and a lot more flexible.

A few things that matter to point out..
  • What the common user cares about
    • Modern, neat and dynamic code
    • Extremely fast
    • Very secure
    • Easy to use and set up
    • Pretty URLs
    • Amazingly flexible
    • Support for multiple and custom skins
    • Compatible with multiple databases
    • Automatic database backups.
    • Language system
    • Professional and efficient housekeeping
    • ErrorLog file to find the internal errors easily, can be viewed in the HK.
    • Fully documented
  • What the programmers care about
    • Object-Oriented PHP
    • Using the MVC pattern/architecture
    • Multiple database drivers ( MySQLi, PDO_MySQL, MySQL )
    • Using the most modern and handy techniques of PHP
    • A variety of class libraries from you can choose from to add your own mix into the CMS
    • User-created helpers
    • Benchmarking
    • Page caching
    • Taking the template system to a whole new level flexibility-wise
    • Original, fast configuration.
  • What everyone cares about
    • It's open source and free!
So, that's RevCMS 3.0, it is really the result of everything I've learned from RevCMS 0.9 to RevCMS 1.9.9 and since.
I'm creating this in the effort of expanding my knowledge, and so far, so good.

I want to note, that this project will not be finished very fast, since school is starting and everything, but I will try to work on it as much as I can, but I will not be pressured nor will I push myself too hard, else it loses the fun of it all.

Thanks for reading, and wish me luck!
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
RevCMS 3.0
Alright, I want to let you guys know what's up...
Template engine works excellent, just need to set all the $_POST to an object, I've done it before I'm just having trouble with it.
I've started building the main functions needed for user login, almost fully done now, haven't tested.
Support for multiple skins is 100% working, etc.
Support for multiple databases is done, there is 1 file for each supported database(Phoenix, Aleeda, Uber, Alpha series, etc).
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
What is there to gain by using MySQLi instead of normal MySQL?
Glad to asked, well first of all recommends to use MySQLi on top of PDO and MySQL, in a chart they have, MySQLi is by far better than MySQL and a bit better than PDO.

I thought of using MySQLi, since with it, and using it correctly, it is very easy to bind parameters(Filtering them) and it is also pretty fast, not to mention it has some pretty good documentation.
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Alright guys, time for some updates:

My main concern was about the template engine, I personally think it is amazing, but I knew I could do better, so, I ended up making a very similar one, but more dynamic but still flexible.

So, all (php) files are now raw html files, containing the template's tools, which makes faster but still keeping it dynamic.

index.html - Taken from the Mango skin by dannyy94

HTML:
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        {title}
        <link href='themes/skins/Mango/css/login.css' type='text/css'> <!-- Calls the login.css file -->
    </head>
    <body>
        <div id="loginbox">
            <img src="Skins/Mango/images/logo.png" id="logo"/>
            <span id="stats">{online} Users Online!</span>
            <div id="clear"></div>
            <hr/>

            <div id="login_image">
                <div id="main_login">
                    {error}
                    <strong>Welcome to {hotelName}!</strong><br/>
                        Please login with your account or click Register to create one
                        <div style="height:5px;"></div>

                        <form action="index" method="post">
                        <table width="200" border="0">
                        <tr>
                            <td>Username<br/>
                            <input type="text" name="log_username" id="username"/></td>
                        </tr>
                        <tr>
                            <td>Password<br/>
                            <input type="password" name="log_password" id="password"/></td>
                        </tr>
                        <tr>
                            <td>
                            <input type="submit" name="login" id="button" value="Login" style="margin-right:2px; width: 104px;"/><input type="button" style="width: 104px;" name="button2" id="button" value="Register" onclick='window.location="register"'/> </td>
                        </tr>
                        </table>
                        </form>
                </div>
            </div>
            <hr/>

            <center>Powered by <b></b><a href="http://devbest.com/threads/development-revcms-3-0-php-mysqli.8939/#post-46198">RevCMS</a></b> coded by <b>Kryptos</b> | Design by <b>dannyy94</b> | Copyright &copy {hotelName} Hotel</center>
        </div>
    </body>
</html>
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Alright, some new updates...

I've gotten read of the tools to call CSS files, it's just pointless. And I'm working on making a tool for each controller, so you can call them easily on each page.

Another thing, I'm going to work on a RSS Feed for the hotel, to post updates, events, etc. And any user can add it into the user feed, I'm personally not doing it because I think hotels need, but I want to do it to learn new stuff about XML, and hopefully moving on to JSON some day.

Also, I'm going to look at HoloCMS(imma add exploitz to revcms 3.0 buahahahahah, jokes) as I heard it has figure caching? And if I think the figure caching is good, I'm gonna use it. Although, Joopie has been using the figuredata, and I'd bet it's for his CMS, I wonder if he is planning on creating the figures locally, I'm going to ask him, and creating them locally would be bettere than caching them, but I don't know if it'd take too much bandwidth or give the server a bit too much pressure.
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Alright, a few updates...

1) I started working figure caching, I'm pretty much done, just gotta' get everything working.
2) I started working on RSS news feeds, already made a class for it and just gotta get everything working for use.
3) Working on how classes are instantiated, and I'm going to do some radical changes to how it's all organized.
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Fucking hell, take a break man, lol jokes, but your doing excellent :O, keep it up buddy.

Yeah, lol. I kinda followed your advice x]

Anyways,

I have some pretty good ideas going over my head and are being implemented. Got work to do!!!1!!!!
 

Spartak

Member
Sep 24, 2011
225
33
You need to make :

===> Shop to get Coins and VIP
===> Make Client compatibl with Mozila Firefox
===> Make some features in HK like (Ban user, unban, give coins, give badge..)

And your CMS will be BEST?? :p
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Okay, I've started working on a database layer, the layer will control different database classes you can work with, suchas MySQL, MySQLi, PDO, etc.

Progress is going pretty slow due to personal reasons, have patience.
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Yea, thanks for asking.

So, yesterday I was working on it and bit.

Went and look up for other SQL engines, and I'll be working on making them all have the same structure for ease-of-use.

I'm planning on adding these SQL engines:
  • MsSQL
  • MySQL
  • MySQLi
  • PDO_MySQL
  • PostgreSQL
  • SQLite
Yea, I'm sure most people will use PDO or MySQLi, since most emulators use MySQL. Nonetheless, RevCMS 3.0 is simply amazing.
Also, it'll be compatible with these Emulators/databases(and you'll have an option to choose the emulator you're using in config.php)

  • Aleeda
  • Alpha(If someone gives me the structure --cough Tweeney)
  • Uber
  • Phoenix
So, yeah. As I said, this is going to be three times better than RevCMS 1.X.X.
 

Marlon123

Member
Jul 21, 2011
25
0
Yea, thanks for asking.

So, yesterday I was working on it and bit.

Went and look up for other SQL engines, and I'll be working on making them all have the same structure for ease-of-use.

I'm planning on adding these SQL engines:
  • MsSQL
  • MySQL
  • MySQLi
  • PDO
  • PostgreSQL
  • SQLite
Yea, I'm sure most people will use PDO or MySQLi, since most emulators use MySQL. Nonetheless, RevCMS 3.0 is simply amazing.

Also, it'll be compatible with these Emulators/databases(and you'll have an option to choose the emulator you're using in config.php)

  • Aleeda
  • Alpha(If someone gives me the structure --cough Tweeney)
  • Uber
  • Phoenix
So, yeah. As I said, this is going to be three times better than RevCMS 1.X.X.

Glad, to see you continue this amazing project. No matter what happens don't give up, your doing great! :D
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Some updates.

First of all, I've decided that I'll be making a framework, Rev Framework. Since what I've done so far is pretty impressive and I'd love to use it for other stuff, and since it's so flexible it'd be pretty easy.
RevCMS 3.0 is pretty much built on top of the framework with some added functionalities like the multiple database/emulator idea and such.

Now, on the real job.

Tonight I decided and edited the MySQLi class, before it was a bit too complex and I just went ahead and simplified things up.
I've also done some changes into the core, pretty much on organization and instantiation on classes, which needs some work.

I also cleaned up some stuff in the past weeks, but not a big of a deal.
 
Status
Not open for further replies.

Users who are viewing this thread

Top