Viewing posts tagged PHP

Release Day: Continuing PHP for Beginners, Now with Databases

So far from PHP for Beginners, Part 1 and PHP For Beginners, Part 2, we have a basic site that uses a JSON file to create a list of pets in our store. Now in PHP for Beginners, Part 3, we're going to dive into the world of databases and PHP. We'll get an overview of working with MySQL databases and how to connect them with a PHP-based site.

Release Day: Dependency Injection, Namespaces and Composer

Ready to get up to speed on current PHP tools and techniques? This week we're excited to provide to our wonderful members more new PHP videos from our partners over at KnpUniversity, a leading provider of PHP and Symfony video tutorials. All of this week's tutorials are also completely FREE!

Even More PHP Tutorials

We're delighted to release another installment of PHP for Beginners videos from our amazing partners over at KnpUniversity. In these video tutorials, you'll learn all about HTTP responses and requests and step-by-step, how to process a form using php and JSON. Leanna takes you under the hood of a web page, showing you what information is being passed along and how you can make use of it in your PHP script.

New PHP Video Tutorials

This week we are finishing up PHP for Beginners, Part 1 by wrapping up the project we started in last week's tutorials. To complete our demo site, we are going to need to work with files, and import some JSON into the site to get all of the pet data we need. We're also going to use more PHP statements and introduce some logic into our work with booleans, and the if and else statements. You'll also write your own PHP function from scratch, instead of just using the ones that are provided by PHP itself. To clean up the code organization for our site you're going to learn how to include, or require, other PHP files into the main file, and have everything still work.

New PHP Tutorials from Symfony Experts KNP Labs

We're excited to announce a new partnership with KNP Labs to provide our members with expert PHP and Symfony2 lessons.

Drupalize.Me Podcast Episode 35

In this week's episode, Object Oriented PHP, I'm joined by Lorna Jane Mitchell and Joe Fender to step outside of Drupal a little and look at the larger PHP landscape. We discuss what all this talk of Object Oriented Programming (OOP) means. Lorna Jane is a PHP and API specialist and has written several books about PHP, and specifically about OO in PHP. Joe is a developer on the Drupalize.Me team who has been digging into Drupal 8. With the two of them we explore what is going on in the PHP world and Drupal 8. Why does Drupal 8 use OOP? How is this going to effect Drupal developers?

Drupal 8: Writing a Hello World Module

It's been a while since I've sat down and tried to write a module from scratch in Drupal 8. I've dabbled here and there in the various already existing modules but there's always something interesting about just trying to write that simple "Hello World" module. Sure, starting from scratch isn't really something we do all that often, but it's nice to to know how it works.

php[tek] Conference Is Next Week

With the addition of Symfony to Drupal core, many Drupal developers are beginning to explore beyond the confines of our own amazing CMS. But where do you start? Conferences can be a great opportunity to step outside of your day-to-day time crunch and learn about new technologies. php[tek] is one of those great opportunities for module developers in the mid-west United States. This conference, now in its 13th year, has over 50 sessions spread over four days, May 14-17, in Chicago, Illinois.

Naming Things Is Hard

There is a famous quote which says:

"There are only two hard things in Computer Science: cache invalidation and naming things."

Drupal is no different. The secret sauce behind Drupal's powerful hook system is a simple naming convention and it all starts with naming your module. Choosing the right name for your module is important, as is understanding a couple of potential pitfalls you may encounter down the road. Some of which are obvious and some of which can sneak up on you.

Pages