Light at the end of the tunnel for Yii2 learners

Date published: Tuesday 24th of May 2016

This Yii2 business has been a challenge for me and, I'm sure, some of the rest of you. If I had my way then CodeIgniter would be thriving and we'd all be happily using HMVC forever. I can absolutely understand why people would want to stick with CodeIgniter, after all, the syntax is easier and (if you're using HMVC) then your sites are structurally sound. It's actually almost impossible to break a site that uses HMVC. They're so easy to manage and upgrade. So, I'm definitely dishing out respect to anyone who sticks with CodeIgniter.

HOWEVER, the fact of the matter is that CodeIgniter is going nowhere. I wish that wasn't the case but all evidence on the ground tells us otherwise.

Over the last year, I have seen a massive drop in the amount of people looking for Codeigniter developers. Previously, I used an app to find Codeigniter gigs. The vibe was, I'd have an assistant looking for "Codeigniter developer wanted" ads, and we'd go after those gigs. These days, my jobs app would be totally useless because on the sites that I used to go to, nobody wants a CI developer!

Also, very sadly, there's not a shred of evidence to suggest that the University of BC have made any significant headway with CI4. For a long time, I've privately been making the prediction that CI4 will never be released. Folks, this was a bold prediction to make - perhaps even an outrageous prediction, but as time goes on it's beginning to look like another one for the "David was right" file.

Now, if you're happy building sites with CI using HMVC then that's 100% cool. This site uses CI and I am going to continue to use it for personal projects. But know this:

CodeIgniter is a framework that is going nowhere. It's a technology that belongs in the year of 2011. Landing high paying web development gigs, as a CodeIgniter developer, is something that is certainly not going to be easy, but good luck if that's your vibe.

Now let's talk about Yii2.

First of all, wasn't Yii2 a great choice?

Just look at the competition! Laravel will probably be rewritten by the time I've finished this article (constant rewrites are TOTALLY uncool, by the way). As for Symfony - it's just a poor man's impression of Django. The Zend Framework is a joke. The documentation sucks and in any case, all of these frameworks handicap themselves by doing those crappy, unnecessary templating systems.

Let me tell you something. The only reason why Symfony, Laravel and Zend are using things like Twig {{ }}, is because that's the way that Rails and Django work. HOWEVER, the reason why Rails and Django use those {{ crappy }} template systems is because Ruby and Python were not built for the web. PHP was!

So, the point is, Rails and Django need to use those templating systems because the languages of Ruby and Python cannot be easily and seamlessly mixed with HTML code.

PHP on the other hand, can be mixed with HTML beautifully. As a matter of fact, I've seen some developers describing PHP as a templating language. So, why on Earth would you want to handicap yourself by using {{ Twig }}, {{ Blade }} and all that {{ crap }} when there is just no need? Of course, it's a good idea to avoid the subject of Doctrine. As far as I can tell, that's just a huge horror story filled all sorts of misery.

Don't forget, Laravel, Symfony and ZF users are going to have a hard time working with AngularJS when all those curly brackets start conflicting left, right and center. Yii2 developers don't have to worry about those kinds of conflicts because there simply are no conflicts!

The whole journey of learning Yii2 is not easy. There's no doubt that some of the code is more difficult to understand than with CodeIgniter. Nevertheless, as we move beyond video 17, I'm starting to see that things are gradually starting to get easier. Everything seems to be falling into place and, from where I'm sitting, I think the Yii2 framework is starting to make a lot more sense.

For those who go through the pain of learning Yii2, I think the rewards will be that in a couple of months time we'll be able to build custom apps four or five times quicker than in the past. Of course, we'll also be using a more up to date and in demand framework. Most importantly, we'll be in a great position to move onto white hot, super hip technologies like AngularJS and ReactJS.

By the end of the year, all of this is going to come together and there's going to be some very dangerous web developers, here at the Insider Club.

Peace, love and vegetables.

DC

Previous Articles

Everything that we knew about web development was WRONG!

Folks,

I have spent the best part…

Read More

New Tutorial Series - Build YOUR OWN Udemy Website!

Just to let you know, I've just…

Read More

Three Technical Things That I Learned This Year

Web development is a career that's all…

Read More

Thank you!

Some of you who follow my YouTube…

Read More

It's Time To Rethink Social Media

And no, this is not a conversation…

Read More

The Golden Secret

Did you know that since the dawn…

Read More

The forum is back.

That's the forum back up and running.…

Read More

I Knew I Said That I Wouldn't Talk About Politics But...

Right now on Twitter, the phrase '#ResignMay'…

Read More

What's going on with the forum?

Some of you may have noticed that…

Read More

Response To Meryl Streep

Today, all of Hollywood and all of…

Read More

What The Modafinil Keeps Telling Me

Right now, I am about four times…

Read More

DC 2.0 is here - Happy New Year

Happy new year.

I've been testing out…

Read More

Where have all the cowboys gone?

This song...

Read More

Let's Talk About Swearing

You know, it's hard to imagine -…

Read More

What you need to learn

We've been enjoying a conversation this week…

Read More

What about PSR, namespaces and all that stuff?

Today's Inside Scoop is inspired by Yavor…

Read More

Alex Jones == Controlled Opposition

Here's your phrase of the day, folks:…

Read More

Motivation Is On The Way!

This is a big week for the…

Read More

End Of Year Advice For Web Developers

Fellow Insiders,

We're now moving into a…

Read More

Just Be Yourself!

I recently rejoined Facebook, after a five-year…

Read More

Brilliant New App From The Rock

The Rock has just released a new…

Read More

Goodbye Politics - Hello Web Development

Isn't it nice to get those elections…

Read More

Congratulations America | Congratulations Trump!

* I APOLOGISE FOR TYPOS. I'VE BEEN…

Read More

Waiting For America To Bottle It

Well, as I write the election hasn't…

Read More

They're ALL Lying!

Like many of you, I've been following…

Read More

The Best IT Gig On Earth (clue - it's not building mobile apps!)

Two days ago, I had a call…

Read More

What 'They' Are Not Telling You About Russia

Yesterday, the mainstream media flooded us with…

Read More

A New Kind Of Wealth

Last week my car was due to…

Read More

Trump Strikes Back!

Last night's debate was incredible!

Initially I…

Read More

Why I Am Withdrawing Support For Donald Trump

Over the past three or four months,…

Read More

Airbnb might just be your ultimate auto-income generator

Over the last 24 hours I've been…

Read More

Black Lives Matter: An Outsider's Perspective

Once again another black person has been…

Read More

Social Justice Warriors

For years (decades actually) I've been in…

Read More

What the Hell is going on in Syria?

Okay, we all knew that the place…

Read More

I think I've figured out what happens when you die

Congratulations. You've just read the most gloriously…

Read More

Steve Irwin

Spare a moment to appreciate and think…

Read More

The Universe Owes You Nothing

One of my strange addictions in life…

Read More

Bruce Dickinson

Sometimes people appear on the scene who…

Read More

Self-Imposed News Blackout

It's all getting a bit too heavy.…

Read More

The Big Media Cover Up

Words escape me.

Read More

How Burt Reynolds Movies Could Hold The Key To Defeating Radical Islam

Another weekend. Another terrible Muslim terrorist attack.…

Read More

How The Bastille Day Attacks Change Everything

Hello fellow Insiders.

What a heavy weekend…

Read More

Post Brexit Blues

There is no doubt that the Brexit…

Read More

The Calm Before The Storm?

Within the last 20 minutes, I can…

Read More

The Next 30 Days Are Critical

Following the shock result of the EU…

Read More

It's Time To Say Goodbye To Your Three Month Fantasy

Have you ever noticed that whenever you…

Read More

An (almost!) perfect meritocracy

Today's Inside Scoop is dedicated to Martyn,…

Read More

Why I'll Never Use Or Teach Laravel

As some of you folks may have…

Read More

More Politics - More Disappointment

Yesterday, here in the UK, we had…

Read More

Never Accept A Cheap Thrill

Today's Inside Scoop is one for the…

Read More

Let's Have A Limitless Week

It's Tuesday 3rd May and here in…

Read More

If you're a guy and you're worried about hair loss then you need to read this!

I want to talk about some things…

Read More

Everything that we have been told about weight loss is wrong

This is big. If you struggle with…

Read More

Rejoice - The DCRN Is Coming Back

I'm very excited to tell you that…

Read More

Forget about oil. Here comes the water wars.

Oil. We depend on it to live…

Read More

Fighting Negative Energy With Positive Energy

Occasionally I post something on the Insider…

Read More

Are Ye Ready For Yii?

On the first week of April, I'm…

Read More

My Big Pound Short

I was working over at a client's…

Read More

PREDICTION: Codeigniter 4 will NEVER be released

Here at the Inside Scoop, I like…

Read More

You probably know more about web development than you think

I was just on YouTube watching a…

Read More

Why You Should Say No To Deodorant And Yes To Early Morning Showers

Skin cancer rates are going through the…

Read More

I'm Getting Killed Out There

As some of you know, I've been…

Read More

Have you joined the 5am Club yet?

We are now entering into that time…

Read More

Udemy's Dirty Little Secret

Don't you just love Udemy? I do!…

Read More

A time for earning, a time for learning

Twenty years ago I sold my first…

Read More

Happy Birthday Johnny Driesen!

Yo ho ho! I just want to…

Read More

CodeIgniter is dead. Now what?

I was looking at the CI site…

Read More

Check Out Charles Bradley

I've been listening to a lot of…

Read More

Leaving Politics To The Politicians

For a while I've had the feeling…

Read More

(re)Introducing Stock Market Alerts

Hi,

I'm pleased to declare that the…

Read More

Just turned 40

Well, it finally happened. Yesterday was my…

Read More

Insider Club Update

I thought I'd give you a quick…

Read More

Welcome To The Inside Scoop

Hello there!

Welcome to this brand new…

Read More

test page title

Hey man, this is just a test…

Read More


© Copyright 2013 - 2017 David Connelly | www.davidconnelly.com | www.dcradionetwork.com