If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

PHP Mastering

Started by malota, Nov 06, 2023, 12:16 AM

Previous topic - Next topic

malotaTopic starter

I am currently working with PhP on the website codeacademy.com. The interactive lecture is centered around tasks that require you to solve them on your own.



However, when I began learning PhP through these lessons, I quickly realized that despite my progress on codeacademy, I actually knew very little. It feels like starting from scratch again, with some aspects being easier and others more challenging.

Overall, what I've learned so far is that there aren't enough practice tasks available for reinforcement. Therefore, I would greatly appreciate any recommendations for good tasks, ranging from simple to complex, in order to further improve my understanding of PhP.
  •  


jeffreyrogers

Practice is indeed crucial for reinforcing your understanding and improving your skills. Here are some recommendations for finding additional PHP tasks:

1. Codecademy Pro: Consider upgrading to Codecademy Pro, as it offers more practice opportunities, including quizzes and coding challenges specific to PHP.

2. LeetCode: LeetCode is a popular platform for practicing coding skills, including PHP. It provides a wide range of coding challenges with varying difficulty levels that can help you strengthen your PHP skills.

3. HackerRank: Another well-known platform for coding practice is HackerRank. It offers an extensive collection of PHP challenges, ranging from basic to advanced, making it a great resource for enhancing your PHP knowledge.

4. Project Euler: If you enjoy math-related programming problems, Project Euler might be a good fit for you. It provides a series of challenging mathematical tasks that you can solve using PHP (or any other programming language).

5. GitHub: Explore open-source projects on GitHub that are written in PHP. You can browse through the codebase, find issues, and try implementing new features or fixing bugs. This will not only give you practical experience but also expose you to real-world PHP code.

6. Personal Projects: Think of small web development projects that interest you, and build them using PHP. This could be a personal blog, an e-commerce website, or a portfolio site. By working on real projects, you'll gain hands-on experience and encounter challenges that will deepen your understanding of PHP.

Resources and suggestions to help you further improve your understanding of PHP:

1. PHP Documentation: The official PHP documentation is a comprehensive resource that covers the PHP language, functions, and features in detail. It provides examples and explanations that can help you deepen your knowledge.

2. Stack Overflow: Visit the PHP section on Stack Overflow to explore questions and answers related to PHP. This can be a great way to learn from experienced developers and discover common challenges faced by PHP programmers.

3. Online Tutorials and Blogs: Explore online tutorials and blogs dedicated to PHP. Sites like PHP.net, SitePoint, TutsPlus, and Laravel News offer informative articles, tutorials, and tips for PHP developers. Keep an eye out for tutorials that align with your learning goals and work through them.

4. PHP Frameworks: Consider learning PHP frameworks, such as Laravel, Symfony, or CodeIgniter. These frameworks provide a structured approach to building PHP applications and have active communities that offer tutorials, documentation, and sample projects to practice with.

5. Collaborate with Others: Join PHP-related forums, communities, or local meetups to connect with other PHP developers. Collaborating with others can expose you to different perspectives, best practices, and code review opportunities.

6. Build a Personal Website: Use PHP to build and maintain your own personal website. This will give you hands-on experience working with PHP in a real-world context and allow you to apply what you've learned.
  •  

Rimmon

You don't have to spend a lot of time coming up with something to learn php.
Write your own project, like an online store, with a shopping cart and an admin panel for managers, including all the necessary features. You can find millions of templates on the Internet that you can download and use as a starting point. (For example, you can also add ajax functionality to the store).

Take the time to write everything yourself, like routing, templating, and implementing the MVC model. By doing so, you will gain some valuable experience, even if it's just a little.
If you'd like, I can share a link to step-by-step tasks related to this topic. While they may not be comprehensive, they can still be helpful for practice. I wrote these tasks specifically for one of my students.
  •  

dinuanzz

Those who argue that practical experience is necessary are correct. I suggest performing a series of standard tasks on your own test website:
1. Implement user registration and authentication, familiarizing yourself with session management and cookies.
2. Build a forum or personal messaging system, involving database operations such as entry, selection, editing, and deletion of data.
3. Explore the processing of form data with different field types such as text, textarea, select, checkbox, etc. Ensure you validate the input for correctness, paying particular attention to the concept of SQL injections.
4. Enhance the form by enabling file uploads and learn how to work with the file system.
5. Add blocks of identical fields to the form, providing an introduction to arrays.

These tasks might seem trivial and can often be accomplished easily using various frameworks. However, it is crucial to build them from scratch in order to truly comprehend their inner workings and gain essential experience. By doing so, you will better understand the underlying concepts and principles involved in web development.
  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...