KillerPHP Blog

Archives

PHP is Server Side Programming’s Rocky!

March 18, 2017

I’ve been writing code since 1994, and have used many programming languages over the years to build commercial apps. Thought PHP was NOT my favorite language, years ago, I came to respect the pragmatic and effective nature of the PHP universe. From day one, with PHP, you just got things done fast.

PHP sucks! PHP is old!

Funny, PHP is the programming world’s whipping boy. People have been disparaging the language for years and years. And yet, like Rocky Balboa, it just keeps on coming and winning!

PHP now powers more websites than any other server side programming language … some estimates say nearly 80%! Consider that the 3 most popular CMS’ are built with PHP (WordPress, Drupal and Joomla) … it stands to reason.

😎

Contrast that to the once darling of the nerd-hipster programming world: Ruby on Rails. Rails for all its’ positive qualities and innovations of its’ day, has slowly faded. Year after year as PHP continues to hold its’ quiet dominance in the server side programming space, Ruby on Rails slowly sinks in obscurity reminiscent of other failed technologies like Delphi, ColdFusion and Flash.

Conclusion

The naysayer nerd-hipsters will always find fault with PHP because of its’ sorted past, but history teaches us that just like Rocky, PHP will not only last for years to come, but will in fact thrive due to its’ yuuuge install base, and because of continued development of innovative tools like Laravel.

Thanks for reading!

Stefan Mischook
Killerphp.com

read more


The Critical Job of Testing … in App Development

March 17, 2017

Hi!

We are about to lock-down an app’s code base, before moving to a total rewrite from scratch. But before we move on, it is important that the current version be pretty much bug free, and fully functional.

… Just in case the new version of the app doesn’t hit deadlines on time. At least we will have a fallback position.

Death by last minute changes!

So we decided to implement some last little changes to the soon to retired app, and in the process of making these small changes, not so small bugs crept in. That is a symptom of, and one of the reasons we are doing a rewrite – messy old code base. After many years and developers, the code base is just getting a little to creepy to want to mess with. Developers are scared to mess around.

Test, test again, and retest!

I make it a point to do the testing myself. I know the app like the back my hand, and I can run through things more quickly than anyone. It isn’t the most fun job but since I own the app, it kinda makes sense that I make sure it is working fine before we deploy it.

Conclusion:

You can never do too much testing. Especially on old software that has had many developers touch it.

Stefan Mischook
Killerphp.com

read more


Tips in Starting a Web Development Business in 2017

March 16, 2017

Hi!

Every now and then I blog about questions put to me by aspiring web developers and other tech professionals in training. Here you go:

Web development is a moving target as technology changes. So what are the skills you need to start a web development business in 2017? It comes down to a few things:

  1. Developing the skills of a modern web developer.
  2. Figuring out what your local market is demanding.
  3. Understand what KIND of development work you want to do.

You can watch my video that talks you through it:

Learn web development from a pro: https://shop.killervideostore.com/

Thanks!

Stefan Mischook

read more


Will Ai Kill Coding?

February 26, 2017

With all the talk about Ai (artificial intelligence,) people are wondering if Ai will rush in, making human coders obsolete. Short answer: maybe in 25-50 yrs!

Ai is slowly being developed, but there is a way to go! Though true Ai will take a while before it is realized. As it develops, you will start seeing the simple jobs replaced by Ai long before it finally gets to coders.

The 3 Categories of Ai

The scientist have divided Ai into three categories:

  1. Artificial Narrow Intelligence (ANI)
  2. Artificial General Intelligence (AGI)
  3. Artificial Superintelligence (ASI)

Today we have lots of examples of ANI Ai: Siri, Google search and self driving cars. This type of Ai can only do a few simple things. A long way off from coding!

The second type of Ai (AGI) is what will eventually replace human coders. AGi can think, learn, plan ahead and communicate. When that happens, Ai will replace all jobs, not just coders.

Coders need to Communicate with Clients

Coding has a lot to do with being able to communicate with humans, since you have to speak with people to figure out what they want in their websites (or apps) that you are building. That’s one thing new coders/developers often overlook – the importance of being able to interact with people. Good social skills is a big part of being a great coder.

Of all the skills that Ai will have to learn, the nuances of human communication will be the most difficult. So long before Ai will start coding, it will replace construction workers, truck drivers, accountants, maintenance workers and many other jobs.

… Ai represents a huge change in our society and likely our culture. Nobody can say with certainty how it will all play out. But what is clear, is that the simple tasks will be replaced with Ai before coding … given how complex coding can be.

Legal Considerations

Some of the world’s smartest people are sounding the alarm bells about the birth of Ai, this includes people like Bill Gates, Elon Musk

and Stephen Hawking. I think as we get closer to true Ai (Artificial General Intelligence – AGI) rules and restrictions will be put into place and Ai will likely be tightly controlled. This will further slow the adoption of full Ai in any field. So this will further slow the replacement of live coders with Ai.

Ai will change the Role of Coders

As primitive Ai begins to come online over the next 20yrs, you will first see Ai change the role of coders/developers. So as we use frameworks and code libraries (ex: jQuery, Bootstrap) to speed up development today, primitive Ai will slowly works its’ way into development in an assistive role. Instead of replacing coders outright, Ai will merely allow us more freedom to work on the higher level conceptual aspects of an app.

… Sounds good to me!

Finally, given all the experts seem to think true Ai will only be invented in 50 yrs, I wouldn’t be too concerned. In fact, the fabric of society will change radically (due to Ai) long before coders/developers will be replaced.

Thanks for reading!

Stefan Mischook

read more


The Web Developers Wave

February 21, 2017

What is the web developer’s wave?

Any freelance web developer or designer will tell you, that projects come in waves. You could be 2 months without any work, and then get 3 jobs in a day. This is especially likely in the first few years you are working as an independent developer. So, there are a few strategies freelance web developers have to adopt to manage the wave.

1. Be constantly looking for work.

After you make first contact with a potential client (to discuss the basics of a new website or web app,) you will often find that you won’t get the go ahead (and the first payment) for a few months or longer. I’ve seen this process take 6 months or more!

So to account for this, you should be spending at least 5% of your time slowly planting new client seeds. Start putting out feelers by mentioning to friends, family, business acquaintances … even random people you run into on the street, that you are open to new jobs. Constantly be farming for work.

2. Manage your cash.

Unlike employees, freelancers have no idea WHEN they will get paid next. As such, you have to manage your money especially well. That means having a lot of cash saved up in what I call the ‘FU’ stash. You can watch my video on the subject.

3. Work to streamline your workflow.

A good workflow can mean the difference between struggling to pay the bills, and swimming in cash. Once you have a proper workflow, you will be maximizing your time, so you can get a lot done quickly. The more you optimize your workflow, bringing in processes, and/or apps that speed up the time it takes you to get stuff done, the more jobs you can take on, and the more money you can make.

For example, web developers will typically pick a web framework to base all their projects on. In the PHP world, these days people tend to go with Laravel. In the Ruby world, it is Rails. In the Java world, it is largely Spring.

… The point of the framework is to provide a code base and by extension a workflow, that takes care of all the common programming tasks like: database access, authentication, messaging and tasks automation … as examples.

My web development workflow:

When I was an active freelance developer back in the 1990s and early 2000’s, I would take on porjects to align with my workflow, and my own framework. Back then, I didn’t like the frameworks that were out there, so I developed my own Java Pojo based web framework that used the 80/20 rule to manage app development.

Basically, my framework was lightweight and it did not try to do everything. Instead, it took care of the bulk of the work (80%) and so with each new project, I had only the last 20% to build out. This meant I was able to put out projects in 1/5 the time. I would quote very competitively, especially since most developers had crappy workflows and many didn’t use frameworks effectively (if at all!) … and so I could come in cheap but was making great money for my time. I would often have 3-4 projects going at the same time to account for the expected lag in communication with clients.

Theses days we have the luxury of powerful and refined frameworks, so I wouldn’t be rolling out my own. So if you haven’t already, I would strongly suggest you start learning one today.

Thanks for reading!

Stefan Mischook

read more


Should you learn PHP in 2017?

February 16, 2017

Let’s get straight to the basic answer: yes!

PHP is the most popular server-side programming language used today. Something like 30% of the world’s websites are powered by PHP! That’s an amazing stat! But how did it happen?

Why PHP is still so popular?

It comes down to a few things:

  1. PHP has always been easy to get started with.
  2. WordPress is so widely used by small business and WordPress is created with PHP.
  3. Joomla and Drupal are also very popular CMS’, and they too are created with PHP.

… Between WordPress, Joomla and Drupal, you have a huge marketplace of small business owners that need PHP developers/coders who can manage their sites.

How about outside of working WordPress, Joomla and Drupal?

Like all programming languages, you have to understand where PHP is used, and what type of jobs PHP will get you. Here are some of the places:

  • For freelancers, it’s a big yes!
  • For small business owners who are looking for a web programming language that will allow you to get an app up and running quickly, again … another big yes!
  • For WordPress professionals: yes!
  • For aspiring developers who want to work for Microsoft … no.

It’s all in my video!

To make it easy, I created a video that answers these questions and more:

Thanks for reading!

Stefan Mischook

read more


Google Pixel is really about Google Ai

October 7, 2016

Hi,

I recently watched Google’s presentation of their Pixel phones. The thing is, it wasn’t really about the phone, it was much more about Google’s push into more advanced Ai through Google Assistant.

Check out my video talk about it:

Thanks,

Stef

read more


Top 3 PHP Code Training Tips Video

October 3, 2016

Hi!

I’ve been coding for over 20yrs, and have been teaching code since 2003. I can boil all the experience down to three tips when learning to code:

You can learn to code in PHP easily with me, by taking my powerful course and training package.

Thanks!

Stefan

read more


Tips to make learning PHP easy

October 2, 2016

php-logo

Hi,

I’ve been building web apps for over 20 yrs, and teaching PHP since 2006. In that time, I’ve boiled down all my teaching and coding experience to three powerful tips. These three simple things you can do, will make learning PHP development much easier for you:

  1. Take hand written notes as you learn. It’s one thing to watch a video, or read a book. It’s a whole different experience when you take notes as you are learning. The simple act of putting pen to paper, will tell your brain that the information is more important than normal.Because of this, your brain will put more effort into remembering what you are writing the notes about.

    … The more senses you activate when learning or experiencing something, the more powerful the memory will be. So when watching a video while writing notes, you are activating sight, sound and touch. The touch comes from the contact of the pen in your hand. By activating the touch feeling, you are giving your brain that much more of an association to the information.

  2. Write code as soon as possible! There is nothing like doing it for real. When you write code, even when you are not sure what all the code means, you will see that your understanding of the code, will come much more quickly. So don’t be afraid to start writing code! For example, on day one of my popular web developer course, students write code…. And they will all tell you, how easy it was to learn PHP with me. A part that success comes from students writing code on day one.
  3. Be prepared to make lots of mistakes! PHP programming is an error-prone process. Even the best coders in the world are constantly making mistakes. That’s why you have Windows 10, and not just Windows. OK, new versions of apps come out for two reasons:
    1. To fix bugs. Bugs are mistakes in code written by professional programmers.
    2. To add new features.

Nonetheless, making errors and writing PHP code go hand-in-hand, so don’t let it bother you when you make them. You might not get something on Monday, but don’t worry,  it will probably come to you by Wednesday. In the end, all that is important is that you learn. No one will care if it took you a little extra time.

Hope that helps,

Stefan Mischook

read more


Teaching PHP in Schools

September 23, 2016

studioweb-on-tv

Hi,

Some of you know that StudioWeb, my app that many schools use to make teaching PHP easy, takes up most of my time these days.

… Ahh, the life of an innovative nerd!

In my continued attempts at getting the word out, I recently appeared on TV. You can check out my appearance on Canadian TV.

If you are interested in easily teaching PHP and SQL to your school or district, feel free to check out StudioWeb.com.

If on the other hand, you are an individual who wants to take advantage of StudioWeb’s powerful training platform, check out my new Interactive Web Developer course.

Thanks!

Stefan

read more