What is the most easiest way to build a website pure PHP or Framework? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the most easiest way to build a website pure PHP or Framework?

Because I am struggled in MVC

23rd Mar 2018, 4:11 PM
Amd Munazzil
Amd Munazzil - avatar
3 Answers
+ 4
Building websites in general is pretty easy compared to other types of coding, so I would learn all of the various web technologies to assist you (HTML/CSS/PHP/Javascript/jQuery/SQL/etc...) Technically, you can't do it in pure PHP without having some form of HTML. However, you CAN have the PHP generate the HTML code from the server-side and/or store your HTML pages as code inside of a database that you load onto the page via PHP. This concept makes it possible for you to allow users to configure/edit pages as they see fit; you could create an interface so people can alter your website without touching your code directly, which is kinda neat. Anyways, what exactly are you trying to accomplish? What is the goal/objective overall? Throw more information my way and maybe there is a better answer for you.
23rd Mar 2018, 4:28 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 3
Okay, I think I see what you're asking now. You're wanting to know if you should create everything yourself via PHP or if you should use a framework instead of recreating the wheel, right? Ultimately, this just depends upon what you prefer, what you're trying to do, and what frameworks are available to you. For me personally, I enjoy doing all of it from the ground up myself so that I can tailor things exactly to what I want, nothing more and nothing less. However, sometimes frameworks may compliment exactly what you're trying to do and make things easier for you; if that's the case, use one.
23rd Mar 2018, 5:07 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 2
yes of course I have done a backend with PHP,JavaScript, css,bootstrap,html,mysql,phpmyadmin now harder to do with laravel framework.
23rd Mar 2018, 4:31 PM
Amd Munazzil
Amd Munazzil - avatar