Answer the question
In order to leave comments, you need to log in
Need a Code Review?
Hello!
Guys, I need Code Review. I am a beginner in web programming, I wrote a simple 3 page blog. We need feedback on the quality of the code, the project and everything. So that I can raise my skill in the next project.
I attach a link to the blog:
https://cloud.mail.ru/public/699V/5r1szrcLs
Answer the question
In order to leave comments, you need to log in
1. The .idea directory should be ignored
2. MVC - readable and usable.
3. PSR-1, PSR-2, PSR-4 - read and use.
4. For good, require in your code should be 1 time when connecting the autoloader.
5. Mixed html + css + js - this is guano))
6. In your code, alas, there is nothing to save.
Archive? .. On the mail? .. Say that you were joking.
Always amused by such copyright shitcoders:
<div id="footer">
<p>© Дизайн - собственность Перескокова Юрия</p>
<p>© CMS - собственность Перескокова Юрия</p>
</div>
class Get_Set_DB_Class
{
public function ConnectForDB()
{
$mysqli = new mysqli("mysql.0hosting.me","u509998950_pers","13071992","u509998950_blog");
return $mysqli;
}
public function Close($mysqli)
{
$mysqli->close();
}
}
$Connect = new Get_Set_DB_Class();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question