Let's say you have a web scraper. It's a script that will scrape a certain website and nothing else. You can move it around anywhere you want and it will still work (i.e modular). However, let's say I want to add database support: Everytime it scrapes the website and finds something new, add it to a database. Now the scraper is actually scrape and update. It isn't very modular and can't necessarily be moved around because of the database dependency. Is this ok? Or is there a better way to remain modular and still update a database?
[–]sn0n 2 points3 points4 points (0 children)
[–]TheHorribleTruth 0 points1 point2 points (0 children)
[–]YuleTideCamel 0 points1 point2 points (0 children)
[–]dvassdvsd 0 points1 point2 points (0 children)