Coding
Switching php version in dev
Hi all, Tomorrow I will start a new job as a php developer. In my experience my Dev stack involved vagrant, so I can develop on the same environment as prod. The company I will Read more…
Hi all, Tomorrow I will start a new job as a php developer. In my experience my Dev stack involved vagrant, so I can develop on the same environment as prod. The company I will Read more…
https://github.com/MCannucci/Phnock Allows test wide mocking of http requests without modifiying/creating mock objects for your code. (ex: All requests to google.com will return the body of ‘OK!’) Why: Projects that aren’t structured with inversion of control Read more…
Share your favorites!the $, easier for me to look for variables. It also make PHP distinguishable from other lang.aka the string concatenation operator.Every other language that shares an operator between addition, and string concatenation, feels Read more…
FullCalendar is a JavaScript library which uses for displays calendar on the website with the scheduled event. It is used for managing events. We can add, modify and delete the event very easily. Here user can only give the title for a Read more…
Say you have a class A that depends on B and C. You can either inject B and C into A and mock them during testing, or you can factor out the methods inside A Read more…
When working on large projects with one codebase you have to set up everything only once. But those of you who do a lot of small projects, how do you cope with it? Do you Read more…
During Christmas, i spent a few days working on a small project: https://meteoritedb.com/ Any feedback or ideas are appreciated !! (I think i’m not breaking the rules. It’s a small personal project and i honestly Read more…
Saying “Haskell has this feature and it allows you to express some common Haskell patterns more succinctly” does not imply “Adding this feature to PHP will allow you to do the same”. Haskell is a Read more…
Mine are: (Best) Named Arguments — I usually like to stick to syntax which is common among the majority of languages I know (multi-lingual), but this looks pretty useful to me. I might try it. Read more…
I’m using Dapper to pull a list of Employee objects with their emails, which are stored in another table. I’m getting an error:System.NullReferenceException: 'Object reference not set to an instance of an object.' When I Read more…