Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Development
[COSMIC] Project
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Raizer" data-source="post: 455045" data-attributes="member: 84739"><p>Dear devbest members,</p><p></p><p><strong>Introduction</strong></p><p>In February this year I started developping on a Habbo CMS because most of the currently released CMS are deprecated and extremely bad programmed.</p><p>The project has stopped for a while because I started working for another retro called LeetHotel. Due to circumstances I quit Leet and decided to myself to continue with this project .</p><p></p><p>Leet Hotel also uses my framework at this moment but i changed the layout a bit to keep the originality.</p><p>I think this is a good start to continue the project, apart from the fact that we all know that retro's is already dying..</p><p></p><p>Before we start I want to say, thanks Metus for helping with this project and I wish you the best with you and your hotel.</p><p></p><p><strong>AsteroidCMS</strong></p><p>This framework has a total of 400 commit's and has undergone many changes and now we have reached a point where everyone can use it.</p><p>The most important part of the framework is of course the routing, I created my own in version 1 what I also announced <a href="https://devbest.com/threads/habbox-cms-works-on-all-emus-own-frameowrk.88117/" target="_blank"><strong>here </strong></a>in the past.</p><p>But I chose to user the vendor <a href="https://github.com/skipperbent/simple-php-router/tree/master/src/Pecee/SimpleRouter" target="_blank"><strong>SimpleRouter </strong></a>rounting because it is much more powerful than mine.</p><p></p><p>We use an MVC structure. Do you have no idea what this means exactly? On Google you can find a lot of information.</p><p>AsteroidCMS also uses middlewares for example a authentication, caching class and validation class.</p><p></p><p>You can add middleware very easy for example:</p><p>[CODE]class Routes extends Router</p><p>{</p><p> public static function init()</p><p> {</p><p> </p><p> Router::PartialGroup('/', function () {</p><p> </p><p> Router::setDefaultNamespace('\App\Controllers');</p><p></p><p> Router::get('/', 'Home\Index@index')->setName('index.home')->addMiddleware(CacheMiddleware::class);</p><p> Router::get('/home', 'Home\Index@index')->addMiddleware(CacheMiddleware::class);</p><p> Router::get('/lost', 'Home\Lost@index')->setName('lost');</p><p> </p><p> })->addMiddleware(AuthMiddleware::class);</p><p>}[/CODE]</p><p></p><p>Permission system has also been built with individual rights that you can assign to a specific role. Roles can also be created for your emulator and this is easy to manage in our housekeeping.</p><p>There is too much to mention what AsteroidCMS offers. You can find all of this later in a documentation.</p><p></p><p><strong>Vendors</strong></p><ul> <li data-xf-list-type="ul">Composer project</li> <li data-xf-list-type="ul">Simple Validation class</li> </ul><p>[CODE] public function request()</p><p> {</p><p> $validate = request()->validator->validate([</p><p> 'username' => 'required|min:1|max:30',</p><p> 'password' => 'required|min:1|max:100',</p><p> 'pincode' => 'max:6'</p><p> ]);</p><p></p><p> }[/CODE]</p><ul> <li data-xf-list-type="ul">Pecee Simple routing</li> <li data-xf-list-type="ul">Locale systeem (meerdere languages)</li> <li data-xf-list-type="ul">Twig template parser</li> <li data-xf-list-type="ul">Helpers</li> <li data-xf-list-type="ul">Page caching</li> <li data-xf-list-type="ul">Google 2FA authentication</li> <li data-xf-list-type="ul">QueryBuilder</li> </ul><p>[CODE]public static function getAccessLogs($player_id, $limit = 100)</p><p>{</p><p> return QueryBuilder::table('player_access')->where('player_id', $player_id)->limit($limit)->get();</p><p>}[/CODE]</p><p></p><p><strong>Javascript</strong></p><p>Instead of controlling a view in your controller, we have javascript for loading all the post/get requests.</p><p>This way it is possible to go in and out of the hotel without having page refresh.</p><p></p><p><strong>Interfaces</strong></p><ul> <li data-xf-list-type="ul">Hotelmanager</li> <li data-xf-list-type="ul">Forms/Links handler</li> <li data-xf-list-type="ul">Post/Get requests</li> <li data-xf-list-type="ul">Customforms</li> <li data-xf-list-type="ul">Dialogmanager</li> <li data-xf-list-type="ul">Notificationmanager</li> </ul><p><strong>Housekeeping</strong></p><ul> <li data-xf-list-type="ul">Permissions (Create: Roles, Add: Permissions)</li> <li data-xf-list-type="ul">Remote Control (View userdata, ban, alert & reset control) (<a href="http://prntscr.com/q88b62" target="_blank">Screenshot</a>)<br /> <a href="https://gyazo.com/bb80b32712101c42373ed7b1c4eefe57" target="_blank">https://gyazo.com/bb80b32712101c42373ed7b1c4eefe57</a></li> <li data-xf-list-type="ul">Room control + ban control</li> <li data-xf-list-type="ul">VPN control (block users based at ASN)</li> <li data-xf-list-type="ul">Wordfilter</li> <li data-xf-list-type="ul">Chatlogs</li> <li data-xf-list-type="ul">Banlogs</li> <li data-xf-list-type="ul">Stafflogs</li> <li data-xf-list-type="ul">Help tickets</li> <li data-xf-list-type="ul">FAQ manage</li> <li data-xf-list-type="ul">News manage</li> <li data-xf-list-type="ul">Shop manage</li> <li data-xf-list-type="ul">Catalog manage (edit your arcturus catalog).</li> <li data-xf-list-type="ul">Value manage</li> <li data-xf-list-type="ul">Catalog manage</li> </ul><p></p><p><strong>New updates</strong></p><p>Cosmic has alot of updates already but it is too much to write. The best update so far is that you are now able to manage the catalogue from the housekeeping. With a simple, drag & drop system you can order the catalogue in a visual way.</p><p></p><p><a href="https://gyazo.com/45badf31aced0eafb05258d546654d64" target="_blank">https://gyazo.com/45badf31aced0eafb05258d546654d64</a></p><p><a href="https://gyazo.com/ca0e7aa80c3318b3073657f51a713921" target="_blank">https://gyazo.com/ca0e7aa80c3318b3073657f51a713921</a></p><p></p><p>Cosmic is also now compitable with php 8.0.1. and version 3 of cosmic is also under construction with a new layout and framework. Also i'm working on Circinus, frontend project builded with typescript +vue and mobx, which is builded for Ares backend. Follow the thread here: <a href="https://devbest.com/threads/circinus-cms.91295/#post-467885" target="_blank">https://devbest.com/threads/circinus-cms.91295/#post-467885</a></p><p></p><p>Get Cosmic here</p><p><a href="https://git.krews.org/Raizer/Cosmic/" target="_blank">https://git.krews.org/Raizer/Cosmic/</a></p></blockquote><p></p>
[QUOTE="Raizer, post: 455045, member: 84739"] Dear devbest members, [B]Introduction[/B] In February this year I started developping on a Habbo CMS because most of the currently released CMS are deprecated and extremely bad programmed. The project has stopped for a while because I started working for another retro called LeetHotel. Due to circumstances I quit Leet and decided to myself to continue with this project . Leet Hotel also uses my framework at this moment but i changed the layout a bit to keep the originality. I think this is a good start to continue the project, apart from the fact that we all know that retro's is already dying.. Before we start I want to say, thanks Metus for helping with this project and I wish you the best with you and your hotel. [B]AsteroidCMS[/B] This framework has a total of 400 commit's and has undergone many changes and now we have reached a point where everyone can use it. The most important part of the framework is of course the routing, I created my own in version 1 what I also announced [URL='https://devbest.com/threads/habbox-cms-works-on-all-emus-own-frameowrk.88117/'][B]here [/B][/URL]in the past. But I chose to user the vendor [URL='https://github.com/skipperbent/simple-php-router/tree/master/src/Pecee/SimpleRouter'][B]SimpleRouter [/B][/URL]rounting because it is much more powerful than mine. We use an MVC structure. Do you have no idea what this means exactly? On Google you can find a lot of information. AsteroidCMS also uses middlewares for example a authentication, caching class and validation class. You can add middleware very easy for example: [CODE]class Routes extends Router { public static function init() { Router::PartialGroup('/', function () { Router::setDefaultNamespace('\App\Controllers'); Router::get('/', 'Home\Index@index')->setName('index.home')->addMiddleware(CacheMiddleware::class); Router::get('/home', 'Home\Index@index')->addMiddleware(CacheMiddleware::class); Router::get('/lost', 'Home\Lost@index')->setName('lost'); })->addMiddleware(AuthMiddleware::class); }[/CODE] Permission system has also been built with individual rights that you can assign to a specific role. Roles can also be created for your emulator and this is easy to manage in our housekeeping. There is too much to mention what AsteroidCMS offers. You can find all of this later in a documentation. [B]Vendors[/B] [LIST] [*]Composer project [*]Simple Validation class [/LIST] [CODE] public function request() { $validate = request()->validator->validate([ 'username' => 'required|min:1|max:30', 'password' => 'required|min:1|max:100', 'pincode' => 'max:6' ]); }[/CODE] [LIST] [*]Pecee Simple routing [*]Locale systeem (meerdere languages) [*]Twig template parser [*]Helpers [*]Page caching [*]Google 2FA authentication [*]QueryBuilder [/LIST] [CODE]public static function getAccessLogs($player_id, $limit = 100) { return QueryBuilder::table('player_access')->where('player_id', $player_id)->limit($limit)->get(); }[/CODE] [B]Javascript[/B] Instead of controlling a view in your controller, we have javascript for loading all the post/get requests. This way it is possible to go in and out of the hotel without having page refresh. [B]Interfaces[/B] [LIST] [*]Hotelmanager [*]Forms/Links handler [*]Post/Get requests [*]Customforms [*]Dialogmanager [*]Notificationmanager [/LIST] [B]Housekeeping[/B] [LIST] [*]Permissions (Create: Roles, Add: Permissions) [*]Remote Control (View userdata, ban, alert & reset control) ([URL='http://prntscr.com/q88b62']Screenshot[/URL]) [URL]https://gyazo.com/bb80b32712101c42373ed7b1c4eefe57[/URL] [*]Room control + ban control [*]VPN control (block users based at ASN) [*]Wordfilter [*]Chatlogs [*]Banlogs [*]Stafflogs [*]Help tickets [*]FAQ manage [*]News manage [*]Shop manage [*]Catalog manage (edit your arcturus catalog). [*]Value manage [*]Catalog manage [/LIST] [B]New updates[/B] Cosmic has alot of updates already but it is too much to write. The best update so far is that you are now able to manage the catalogue from the housekeeping. With a simple, drag & drop system you can order the catalogue in a visual way. [URL]https://gyazo.com/45badf31aced0eafb05258d546654d64[/URL] [URL]https://gyazo.com/ca0e7aa80c3318b3073657f51a713921[/URL] Cosmic is also now compitable with php 8.0.1. and version 3 of cosmic is also under construction with a new layout and framework. Also i'm working on Circinus, frontend project builded with typescript +vue and mobx, which is builded for Ares backend. Follow the thread here: [URL]https://devbest.com/threads/circinus-cms.91295/#post-467885[/URL] Get Cosmic here [URL]https://git.krews.org/Raizer/Cosmic/[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Development
[COSMIC] Project
Top