Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by kutchbhi

  1. For now don't worry about JSON. The following converts JSON into a regular PHP array. An array which has more arrays inside it ( Multidimensional array) //convert json object to php associative array $data = json_decode($jsondata, true); Simple explanation: For an array $carsArr = array( array("Volvo", 22, 18), array("BMW", 15, 13), array("Saab", 5, 2), array("Land Rover", 17, 15) ); $carsArr[0] - first item in the array . Basically $carsArr[0] is equal to ("Volvo", 22, 18) Now $carsArr[0][1] would be the second item of $carsArr[0] . That is '22
  2. DI isn't a basic feature of OOP. It's a design principle/technique. https://en.wikipedia.org/wiki/Dependency_injection Here is where I got a fair idea about this: https://knpuniversity.com/screencast/dependency-injection
  3. Trying to deeply learn about - dependency injection / factories and other software engineering concepts. My Goal is to architecture my apps better, by writing modular components. I can find plenty of blog posts and random videos about learning these, but It would be great if someone can suggest a proper video series or book for this. Or please just suggest what/where can I search for finding a course for this. As in does this land under 'design patterns ' , 'software architecture' or something else ? Any help ? Thanks
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.