Learn Yii

Learn Yii, a high-performance PHP framework that provides a powerful set of features for web development, including database access, caching, and more.
  1. How to Program With Yii2: Running Cron Services

    How to Program With Yii2: Running Cron Services

    Tutorial Intermediate

    Yii2 provides a built-in capacity for running Linux-based cron scripts. Learn how to ditch your wget scripts for a cleaner, more secure console-based approach.

  2. Building With the Twitter API: Creating Friends to Follow

    Building With the Twitter API: Creating Friends to Follow

    Tutorial Intermediate

    Learn to add followers to users' accounts with their authorization. This episode also switches to a simpler PHP-based API library.

  3. Building Your Startup: Designing a RESTful API

    Building Your Startup: Designing a RESTful API

    Tutorial Intermediate

    In order to begin mobile app development, I needed to design and code the API for Meeting Planner. Learn how it's done and how I did it in PHP with Yii.

  4. Building Your Startup: Running Multiple Domains

    Building Your Startup: Running Multiple Domains

    Tutorial Intermediate

    To create a more friendly, social branding option, I launched Simple Planner on the Meeting Planner codebase. Learn how to do this in the Yii Framework.

  5. How to Program With Yii2: ActiveRecord

    How to Program With Yii2: ActiveRecord

    Tutorial Intermediate

    Improve the structure efficiency and security of your database programming. Learn to apply active record patterns with your database programming in Yii2.

  6. Building Your Startup: Error Logging

    Building Your Startup: Error Logging

    Tutorial Intermediate

    Finding production errors can be difficult without proper error handling or a cloud-based logging service. I tried two. Follow along and learn how logging...

  7. Building Your Startup: Importing With the Google Contacts API

    Building Your Startup: Importing With the Google Contacts API

    Tutorial Intermediate

    To make scheduling easier, I wanted people to be able to select from their Google contacts. Learn how I used the Google APIs to import them.

  8. Building Your Startup: Completing Group Scheduling

    Building Your Startup: Completing Group Scheduling

    Tutorial Intermediate

    Supporting group scheduling has always been a major goal in Meeting Planner. I've planned for it since nearly the beginning. Follow along as I begin to add...

  9. Building Your Startup: Meetings With Multiple Participants

    Building Your Startup: Meetings With Multiple Participants

    Tutorial Intermediate

    Supporting group scheduling has always been a major goal in Meeting Planner. I've planned for it since nearly the beginning. Follow along as I begin to add...

  10. Building Your Startup: Requesting Scheduling Changes

    Building Your Startup: Requesting Scheduling Changes

    Tutorial Intermediate

    Often we need to change a meeting after it's been scheduled. Solving this requires both social engineering and lots of code. Follow along to see how I built it.

  11. Using the New York Times API to Scrape Metadata

    Using the New York Times API to Scrape Metadata

    Tutorial Intermediate

    Learn how to reach behind the paywall and gather article metadata from The New York Times in our follow-up to web scraping with PHP.

  12. How to Scrape Web Pages for Metadata

    How to Scrape Web Pages for Metadata

    Tutorial Intermediate

    Learn how to make it simple for users to add links to your website by leveraging PHP to scrape metatags such as title and description from URLs.