Jump to content

kutchbhi

Members
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kutchbhi

  • Rank
    Member

Profile Information

  • Gender
    Not Telling
  1. kutchbhi

    Parsing JSON data and inserting to MySQL

    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' here. $carsArr[0][0] would be the - "Volvo " And so on
  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
  4. kutchbhi

    'How' does one use a CMS ?

    This may sound strange, but I really struggle to use ANY php CMS, even though I am fine with frameworks..reason I think is because while using a CMS, I have to google a lot. For every little thing I have to google for several minutes, and keep thinking only if I wasn't using a CMS, I would know exactly what to do... Now I am building another classified like site, a site that could really benefit from a CMS . But I am wary of giving wordpress another try, since I know I'll spend more time googling than coding. So if anyone understands my predicament and can offer some suggestions OR knows what I am doing wrong and can suggest a suitable CMS ? btw I am VERY comfortable with coding in php, its just that CMS seem to require more research than actual coding.. Thanks
×

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.