suggest way to developing build website

nitiphone2021

New member
I am comming back to build website from my 10 years past. Now I am trying to learn new technology about bbuild website and i don't sure that my knowledge is correct? so I need your suugestion how can make website better.

Now My knowledge : HTML, CSS, JS, PHP. JS I only use jquery library and PHP only real code, never use any framework
I am thinking about use Axios replace jquery also but not sure it's better.
my target is timming of build website faster. example normally I use 1 month for 1 website. How can I use only 2 weeks for 1 website. like this.
also security issue. on JS part. I do nothing about security. I protect website on PHP part my use Param concept.

Thank you very much for your suggestion
 
If you want to speed up your build times, you need to abstract away the thinking about security; it's a rabbithole and takes a lot of time to get right.

It would also be nice to abstract away decisions about routing requests to the correct code; reuse of common UI in your different pages; CRUD operations on your database; and a dozen other things.

The most robust way to speed yourself up is to have these considerations handled already; the most robust way to do that is to use a framework. Some popular ones are symphony, laravel, codeigniter, cake, and yii, but there are plenty of others. Spend a few hours with each one and see which workflow you take to most easily - they all have "getting started" tutorials that guide you through their core concepts. This investment will pay ff quickly.
 
This is how I have been doing website design and development lately. For design I have been using design mobile first strategy when it comes to CSS Responsive Design along with using Grids and Flex as this make the design very flexible.

Website Development

If you are a large corporation I would go with a framework, but for an individual I think it's bit of an overkill. I know a lot of people say it makes it simpler to make websites, but to me one never fully grasps HTML or CSS properly. It is also adding another layer of complexity when it comes to debugging and designing as you don't know if it is HTML/CSS/JavaScript or the framework/library causing the problem. Though it all boils doing to what you prefer to do, but my opinion knowing HTML/CSS/JavaScript for Design and PHP (or some other server side language) for Development is good foundation. Sure, it might initially take you time to design and develop a website, but one you get the first site done that uses solid HTML/CSS and Object-oriented Programming then you will can have templates and classes that can be easily be transported over to the next project(s).

Or you could go the library / framework route to do the heavy lifting for you, but in my opinion that is better for more than one person as it makes the project easier to divide in sections.

As for security I basically one golden rule, if it deals with money transactions or very secure personal information such as a Social Security number then I simply use a trusted 3rd Party Application. As for the rest I just simply follow tried and true methods that is recommend by the developers of the PHP Language (in my case). I never try to create my own security measures as I have learned the hard way that will just end up wasting your time and make the site more vulnerable that what you had initially intended. Though I do have to saying using a framework/template (Smarty as an example) will help you a little bit when it comes to security.
 
simonbrahan said:
If you want to speed up your build times, you need to abstract away the thinking about security; it's a rabbithole and takes a lot of time to get right.

It would also be nice to abstract away decisions about routing requests to the correct code; reuse of common UI in your different pages; CRUD operations on your database; and a dozen other things.

The most robust way to speed yourself up is to have these considerations handled already; the most robust way to do that is to use a framework. Some popular ones are symphony, laravel, codeigniter, cake, and yii, but there are plenty of others. Spend a few hours with each one and see which workflow you take to most easily - they all have "getting started" tutorials that guide you through their core concepts. This investment will pay ff quickly.

Thank you very much for your suggestion. So I will try to learn more about HTML,CSS, Javascript and PHP also. Basic is the most important and After that I will try to spend few day to learn framework.
 
Strider64 said:
This is how I have been doing website design and development lately. For design I have been using design mobile first strategy when it comes to CSS Responsive Design along with using Grids and Flex as this make the design very flexible.

Website Development

If you are a large corporation I would go with a framework, but for an individual I think it's bit of an overkill. I know a lot of people say it makes it simpler to make websites, but to me one never fully grasps HTML or CSS properly. It is also adding another layer of complexity when it comes to debugging and designing as you don't know if it is HTML/CSS/JavaScript or the framework/library causing the problem. Though it all boils doing to what you prefer to do, but my opinion knowing HTML/CSS/JavaScript for Design and PHP (or some other server side language) for Development is good foundation. Sure, it might initially take you time to design and develop a website, but one you get the first site done that uses solid HTML/CSS and Object-oriented Programming then you will can have templates and classes that can be easily be transported over to the next project(s).

Or you could go the library / framework route to do the heavy lifting for you, but in my opinion that is better for more than one person as it makes the project easier to divide in sections.

As for security I basically one golden rule, if it deals with money transactions or very secure personal information such as a Social Security number then I simply use a trusted 3rd Party Application. As for the rest I just simply follow tried and true methods that is recommend by the developers of the PHP Language (in my case). I never try to create my own security measures as I have learned the hard way that will just end up wasting your time and make the site more vulnerable that what you had initially intended. Though I do have to saying using a framework/template (Smarty as an example) will help you a little bit when it comes to security.

Thank you very much to share your knowledge. So I make decision to go back to learn HTML, CSS, JAVASCRIPT and PHP to build website to make sure that i can do all website by these basic knowledge, after that I maybe try to spend few day to learn a framework like laravel, just now I also use Smarty framework, it's good but very hard to understand and not so much lesson on internet.
For security is the first priority on my mind. But I don't know how to start learning it and how many thing need to pay attention.
just now I protect my website only one Backend part. like PHP to protect Database by SQL Injection by using param.
I not sure it's enought?
 
Security is a MASSIVE topic; many people make their living solely by consulting on web application security.

If you want a basic grasp of things, a good start is to read through the Open Web Application Security Project top ten to see the most common pitfalls. These will give you a lot of other directions to research as well.
 
Back
Top