Do you ever know what is MVC? Is a pattern with a three-way concepts.
Model, View, Controllers.
-> Models handles the Data, and the Mappers (database interactor functions to control the data of your project)
-> Views, your front-end code.
-> Controllers, the classes that handles the requests, actions, and do something like:
project.yoursite.somedomain/controller/action/parameter/value/parameter/value[...]
Okay. I must disagree you. PhP is a good language to do a MVC. And I repeat... What are u talking about?
Who are you? Ray is a good developer. Putting a good SASS/SCSS Engine likely the Web Material Design.. Its awesome. And the first HabboCMS with MVC xD
Last edited by FatalLulz; 03-03-15 at 05:44 AM. Reason: Double posting.
Ray I have some questions to you
-> are you using helpers? (Helpers is were you allocate the miscellaneous and general classes to do exactly what the name says help your code)
- using pdo?
- using recursively functions?
(Like: function Foo(Bar $ABC)
{
$ABC->class*(Foo->__self());
}
Only PHP 5.6 xD
)
And are you using Design Patterns?
And Data Patterns?
Ahh and do you will use
PHP-GTK for something?
Explaining better
final abstract class Bar {
get __self() {
return self::class;
}
private virtual function something ($something = $_STRING.empty)
{
return $something.=&$something;
}
}
public class Bar
{
set __class() {
new stdClass();
}
public static function Foo(Bar $ABC)
{
return $ABC->__class(+new Foo('this will go to the something function'));
}
}
Last edited by FatalLulz; 03-03-15 at 05:39 AM. Reason: Double posting.
So many gimmicks lol
- I will not be using features beyond PHP 5.4 to avoid problems with not so experienced users still using older versions.
- There is a PDO driver available if you prefer it over MySQLi.
- No helpers, I'll use them if the code gets repetitive, but it looks okay so far.
And for all the other gimmicks, I'm not using them, at least not for a HabboCMS, I don't find them necessary at all. PHP-GTK... really??
I personally spoke to the Author of that post and argued with him a lot about how good MVC is but he always had a defending point. If I did not mention, he's an intern engineer of PHP and he obviously knows way more than us. Anyways, if you do not want to take my advice, I have no problem with it. End of the day, it is your project and not mine. I was just sharing what I found out. It's always take/ignore procedure to suggestions. I am pretty sure all that flaming above was not necessary and my post itself could have been ignored because the person whom I was talking to was Ray Boccino. I hope I made myself clear.
@Komakech I personally use XAMPP because I like how easy it is to just install it without having taking the trouble to set it all up. However, whenever I have a VPS, I make sure I use LAMP (I always choose Linux over Windows). I am pretty sure there is nothing wrong in using XAMPP as it serves it task.
@iGalaxy XAMPP packages a development environment, not a production environment. However, you are correct with your previously mentioned assertions about the MVC design pattern -- which everyone up until this post has misinterpreted. The following should serve as a clarification to iGalaxy's statements surrounding the MVC design pattern and PHP as a language.
@sant0ro @Ray Boccino @ησвяαιη @Komakech @chingis collectively you have misinterpreted iGalaxy's assertions. You cannot implement the MVC design pattern strictly in PHP for web based applications and the article that iGalaxy has provided in an earlier post explains the reasoning behind that statement (link is available here).
If we ignore the fact that you can now create desktop applications with PHP then your statement is incorrect. You cannot implement the MVC design pattern strictly in PHP for web based applications. Recall that the MVC design pattern is a proposed solution for facilitating the implementation of user interfaces; furthermore, HTTP is a stateless protocol. With that being said, to implement a MVC design pattern the View module must be able to observe and display any changes in the Model module to the client. This is not possible if the View module is implemented on the server-side as its not able to manipulate the previously sent content (HTML, or some other intermediary) when the state of the Model module changes.
Keep in mind that you can conceptually implement MVC, however you are not implementing the MVC design pattern itself. One solution to implementing this design pattern in a web based environment is to implement the View module in JavaScript.
With all of that being said this is a ridiculous debate over nuances in how one interpreted another. I hope that anyone developing any web based application that is supposed to act as a content management system inherently implements the MVC design pattern as a concept into their software design.
Last edited by TheJacob; 13-03-15 at 04:42 PM. Reason: Clarified one of my statements.
Delayed... again!
Sorry but this is getting delayed again. Still not finished, but almost there. I have recoded the whole PHP system with better practices, reduced a lot of code and is now 50% faster. I'll post a list of features and what's left so everything is clear. (I'm kinda being like RockstarGames delaying their games). I'm really sorry for those who are looking forward to downloading this, but delaying is always for the best.
On monday I will release my Habbo Comment System, a lightweight standalone javascript comment system with Habbo styles I did a while back that works with my servers on kunta.pw (I'll also release the server source) as a little compensation for these delays.
Thank you for being interested in this project, the goods will be here soon!
Habbo Speech - An Independent Comments System for your Retro
Easily create a Habbo styled comments system without touching any system code, and have everything stored in the cloud. The only thing you have to do is the implementation process, which is easy: just add this HTML and JS to your webpage with the app key you received upon registration, and choose your desired design skeleton.
Easy Implementation
System Snippet
![]()
Nice, Nice, Nice. You are putting a lot of time in this development. Doing a clean code and a correct code. (I think)
I doesn't have time to do a clean cms (in terms of good practices)
But that Kunta can be the best CMS.
Do you will implement Template Engine System? Because some people can wish HabboWeb xdd
The key is used to retrieve the messages, of course anybody can copy the code and put it on their site. If people try to spam my server as in DDoS, well, it happens like in every app that uses APIs, try to stop it.
If you meant that they could spam someones comments box, nuh uh! You have to be logged in kunta.pw and also there are posting limits.
@Ray Boccino mind setting up a GitHub repository?