![]() Your file and folder names should match your class names, including case. So, here's what I think could be improved: Stuff like Dependency Injection, testing, etc can be really difficult to wrap one's head around, especially if a lot of it gets thrown at you at once. Overall, this is a good start in terms of OOP principles. Tl dr: I've built a little tool and I need it critiqued for educational purposes. So I'm putting the link to the Github repo here hoping it can help someone or get me some useful points, I know it doesn't have much functionality but I'm working on it as much as I can, It would be great if you like the project to contribute too. This is also an educational project for me and for now it has got me to know of topics like Dependency injection, Autoloading, PSR standards and Unit testing, A fellow redditor has also helped by pointing me to some topics and did some code changes that helped me understand. ![]() ![]() This is my first post here and I'm looking for your opinions, I've built a few web scrapers for Freelance projects using plain cURL and XPath and that would get dirty when the scraper has to grab a load of data from a page so I thought maybe I could organize it a little bit by putting it into classes and organize some of the code mess. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |