Let me know what you think about it. Its not yet finished
the olde days i read PHP on w3school and its really boring. but when i started make a html website, i am tired of creating header and footer over and over again.
when i searched in Google to solve thats i found PHP has include feature. so i read the PHP w3school again Only in include feature because only thats all i need.
later i create member only page. i found it again PHP can do it with mysql to store my users in database so I need to know how php-mysql work. and I search it and learn php mysql connection, fetch data, etc.. etc..
so I learn little PHP only if i need to
— You should try a JS framework. React or Vue. Those FWs will allow you to re-use a lot of code because the architecture is component-based.
— I am trying electrón. It's very nice, but at the end it's a simple webview. It's usage would be justified in very few cases IMO🤔
— Firstly, isolate PHP from JS. Mixing front-end with backend is not a good practice.
— You can use vanilla JS with ES6 or whatever you want without FWs, but like in a plain PHP app, you will be making repeated job all time.
FWs help us to write code once and use it infinite times. This happens in every language.
— Welcome Sage!
— Cat's never hot