Testing is a norm now but there's multiple testing categories, there's unit testing, acceptance testing, integration testing, regression testing, etc... As a single developer i feel that making so much tests is really time consuming and i spend like 4x making the tests rather than the functionality,...
I'm wondering if you guys use eloquent on complex queries, for example i have this query that gets the stock of products by calculating the number of products going in minus the number of products going out that belong to an order that is paid: SELECT SUM(COALESCE(i.amount, 0) - COALESCE(o.amount, 0...
I'm interested in know if people strive for complying with PSR's , do you use only PSR-0, do you use all of them?, are you switching from 0 to 4 now that it's out? I'm trying to start using them but there's some things in PSR-2 that go against what i'm used to, i previously used 2 spaces for indenta...
I've worked with php for a while and im pretty confident on doing any site or app except for a online shop, a client recently asked me if i could do one, and im clueless on what the backend of a store looks like, how am i supposed to handle the credit card info and where am i supposed to send it?
Im building a custom cms to improve my general programming skills, and this morning i tough of using php to "compile" my javascript and css, i have a folder outside the root with sources which are the fragmented js and css files, and i use a builder.php file to merge and obfuscate then i output min....
im getting Notice: Undefined variable: rt in inside my webpage, i just recently moved it from a hosted server to wamp on my computer, i guess that notices were turned off in the server, the line in question that gives the notice is: $q = mysql_query('SELECT ID,Name,Author FROM assets ORDER BY Views...