Archives For yiibk

Approximately 1,000 years ago (or 5 months), I promised to give away copies of my “Effortless E-commerce with PHP and MySQL (2nd Edition)” book to those people that have purchased “The Yii Book”. The only problem is I had to create the code to do that. Which I now have. And it may even work.

If you’re interested in possibly winning a copy, log into your account. Then click the “Giveaway” link that appears in the navigation sidebar. If you can’t recall your password, use the reset link.

Pesky details of this giveaway…

Continue Reading...

On Sunday night I posted Chapter 20, “Working with Third-Party Libraries,” of “The Yii Book”. The chapter is 39 pages long as a PDF, with the following contents:

Installation
Accessing Library Classes
Working with Composer
Using Symfony
Using Swift Mailer
Using Elasticsearch
Most of the chapter covers Elasticsearch, creating the shell of a search engine. This rules out the need for Chapter 24, “Implementing a Search Engine,” in my opinion. So, by my count, after this, there are 4 chapters left.

Continue Reading...

As you may already know, the beta of Yii 2 was announced yesterday. Besides being another release, which is a good thing, officially reaching beta status means that no new major features will be added before Yii 2 is released. In other words, what Yii 2 looks like in beta will be pretty close to what Yii 2 is. Yay!

Rather than discussing all, or the most important, changes in Yii 2, I’d recommend you read the announcement page linked above. As for how I imagine this will play out looking forward…

Continue Reading...

I’m hard at work on Chapter 20, “Working with Third-Party Libraries,” of “The Yii Book”, and making decent progress. The goal of the chapter, really, is to explain how to include third-party libraries without getting a ton of errors about not being able to find the class definition. If you’ve played around in this area at all, then you’ll know what I’m talking about: simple libraries, namespaces, autoloaders…it can get complicated.

Continue Reading...

HTML forms are one of the key pieces of any website. As is the case with many things, creating forms while using a framework such as Yii is significantly different than creating forms using standard HTML alone. In Chapter 9, “Working with Forms,” of “The Yii Book“, you’ll learn what you need to know to create HTML forms when using the Yii framework. You’ll comprehend the fundamentals of forms in Yii and see a few recipes for common form needs.

Continue Reading...