functions

Working with Files in PHP (The Brief Way)

Files are essential to large scale web applications. Wherever we have some kind of resource management and planning, the idea to log changes and variations or create reports it’s crucial for providing optimal insight to sales, accounting and managing departments. Even from the developers’ perspective, being able to generate CSV or JSON files on demand for various purposes, will speed up development and boost productivity, leading to more features for other departments to leverage. PHP offers an very robust way...

Continue reading...

Anonymous and Named Functions in PHP

Developing large scaled web applications using PHP can become really hectic really fast if not utilize the most important structures of all, functions. Functions provide us the ability to re-use segments of code instead of writing them over and over again. Using functions we write the code block once and we can call it again again without worrying about chaotic consequences. Functions, apart from compatibility and re-usability, can enable scalability and maintainability of the code base and sometimes, if used...

Continue reading...