π₯ PHP GUIDE π₯ ✨What is PHP❓ PHP is an acronym for "PHP: Hypertext Preprocessor". It is a widely-used, open source scripting language.PHP scripts are executed on the server And it is free to download and use.. ✨What is a PHP File❓ PHP files can contain text, HTML, CSS, JavaScript, and PHP code .PHP code is executed on the server, and the result is returned to the browser as plain HTML .PHP files have extension ".php" ✨What Can PHP Do❓ π’PHP can generate dynamic page content π’PHP can create, open, read, write, delete, and close files on the server π’PHP can collect form data π’PHP can send and receive cookies π’PHP can add, delete, modify data in your database π’PHP can be used to control user-access π’PHP can encrypt data π’With PHP you are not limited to output HTML. You can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML. ✨Why PHP❓ π’PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, et...
7 tips to improve your typing skills
1. Avoid abbreviating variables
Practice to choose the name that are easy to read and understand without ambiguity.
2. Limit Function Arguments
Don't use like shown in below :-
Use like below
3. Simplify Conditional Expression
Easier to read and more pleasant to work with
4. Declare Variables Close To There Usage:-
5. Avoid unintended consequences in function:-
6. Function should be doing one thing:-
- Function mustn't exceed 75 lines at most ,otherwise problem such as bugs and complexity start to pilling ; and by that I mean they should be doing one thing at a time.
- Because functions that are doing lots of things are more often design to multitask on such a big scale , and that is more likely exposed to failure.
7. AVOID ZOMBIE CODE!!!
Use source control (Git) to save your code instead zombie code.
Note:- All above are only suggestion from our team choice is yours.
If like this article please share with your friends π.
Comments
Post a Comment