Making a Website ? Make Sure It's the right one !

Website | 06 Februari 2018

When someone wants to create a website in general there are two types of websites through the manufacturing process, i.e.: Use Prebuilt CMS (Wordpress) or writing a line of code from scratch using PHP Framework (Codeigniter, Laravel, Etc). Stakeholders in non-technology is sometimes not so sure where would be the right choice.

Prebuilt CMS may appear to save money/time and tools more clearly to complete their business tasks. However, when is the right time to use the Prebuilt PHP CMS or Framework? Let's look at a comparison of WordPress as a CMS is the most widely used with Codeigniter.

WORDPRESS ADVANTAGES

Actually, there is only one case where using WordPress is considered as a good business decision: if it meets the specification requirements for the needs of the given web project.

In General, WordPress is usually the No. 1 choice if:

1. This project is included in the portal category-based content such as blogs/newspapers.
2. The market has been providing quality WordPress plugin/security and functionality needed to meet the requirements of the software.
3. The founder of a startup wants to test the market and make the first version of the web site quickly/cheaply with the functionality of the stripped. In this case, WordPress can be useful as a prototype and a platform for a decent product at a minimum. Some non-tech managers believe WordPress is better than any framework because WordPress as CMS pre-built has a great admin panel (a user-friendly interface), so that every Member of the staff of the non-technology can update the website without developers. The truth is, if necessary, have the admin panel like WordPress, it will be easy to be developed with the PHP Framework. Also not a problem to find a PHP Developer Framework.


WORDPRESS SECURITY

When making decisions about the use of WordPress, security vulnerabilities of WordPress core and plugins should be considered. Follow a short overview about the case was widely known:


It is very important to choose a secure plugin using wordpress, it is not just that the Website should be updated often enough (when there is an update) with the aim of keeping the code stays up to date so that more security is assured. However the level of update can be done 1 week/2 weeks/1 month.

WORDPRESS RESTRICTIONS

There is a limitation of customization is included with the system that is built with WordPress CMS. If WordPress based projects developing (the more users registered, more operations per second, etc.), at a certain point there is no choice but to create it again with the PHP Framework (such as Codeigniter or Laravel) or (if possible) to migrate the web site into Codeigniter framework.

The following is a case taken in several forums:

Gizamo: «Asking a web developer to modify a CMS can significantly increase developmental costs. It may also create complications in core functionalities, such as updating, theming, etc. And, it can require a darn good programmer, depending on the platform (which will further increase the costs)».

Developer: «I have been developing with WordPress for a while now. I have been using WordPress outside of its element and been developing web application that aren't necessarily blogs. I loved all the functions they have, and the security it provides.  But I'm starting to work with more complex applications, applications that are starting to not fit in the WordPress model. I need to find a framework that's similar to WordPress in the developmental aspect. I just need a powerful framework that is lightweight and well documented. So I need a framework that can handle user management, template engine, security updates, and has good documentation for development».

Ekaitzastiz: «I have done a lot of things with WordPress: custom themes, widgets, plugins... And for news web and blog web portfolio, it was enough. However, Laravel is a framework that can be used to do exactly what you want and how you want; you can do a custom backend, a REST API, a SPA app, an intranet, a CRM... Big effort is needed in WordPress to do big changes like that. WordPress is not as customizable as an app that you build from scratch with a custom design and focusing on your needs. It's not as flexible when changing anything. Moreover, very important, is the weakness of most plugins and widgets in WordPress: they aren't tested with PHPUnit, or aren't build applying TDD».

Masiorama: «After months developing and using WordPress-based solutions for my clients I noticed that the start of every single project was very fast (easy to install, lots of materials available for free or cheap) and satisfactory enough, but the hell arrived each time there were some more-than-little modifications (logics and design). Using a framework with a pattern like MVC (I use Yii) may be more difficult at the beginning, but to write, debug, and organize your code is far more fluid and satisfactory, on the long run. Even a module (CMS) can be easily extended or rewritten with lesser effort than packed CMS solutions like WordPress».

Steven Richardson: «I just built the whole thing in Laravel, including the blog. I got my app response time down to 35ms with a total page load time of 1.02s from the original 4.3s.  I believe if you can build something that will perform faster, even on a mobile connection over a bloated CMS then build it. Your readers and users will thank you for it».

Milan Lesichkov: «I have moved several slow WordPress sites to Laravel. Speed improvement is about 700%. 10s (WordPress) - 1.5 s. (Laravel)».

Gravy: «I am moving my website from WordPress to Laravel as the website has moved away from being a blog and requires more enterprise and custom functionality. The website has outgrown WordPress».

Raffworks: «I decided to consider moving away from WordPress and into using a lightweight framework for building my sites and web apps. I went for CodeIgniter 2.1.3, but got a surprise insight into Laravel as I was doing so, and have decided to go for that instead».

Milan Lesichkov: «My experience starting with WP and moving it later to Laravel was a nightmare. I have moved many web sites away from WordPress to Laravel. The benefits are great security, speed improvements, full flexibility of what can be done, development speed, great model layer for working with databases, and many more. So my advice, stay away from WordPress. It was meant to be a simple blogging engine that is “hacked” to do much more. Everything in WordPress is a “hack” but most of all, the database. The “blog post” is a post, “image” is a post, “page” is a post and what-ever-you-think-of is a post. All additional data is added in metas, which have to be joined multiple times to get related data. Once your database grows even just a little bit, it gets slow as a turtle. Development speed. It takes me 5–10 times less time to do the same features with Laravel than WordPress. Every time you develop for WordPress you have to “hack” something to get it working. With Laravel it’s all modular and reusable. For instance, what if you want to have a blog on your website? Well it took me about 2 days to do a blogging module for Laravel—fully flexible, that can be added anywhere, reused many times after this».



WHY PHP FRAMEWORK?

For stakeholders who want to create professional websites, PHP Framework is the right choice for you. The following are some of the advantages of PHP Framework comparison Prebuilt CMS,

1. Flexibility: because the code is written from scratch, making any development be implemented.
2. Security: Website created using PHP Framework generally have better security because it was the default from the Framework. Unlike wordpress, this website does not need to be updated every week or once a month but in 6 months or 1 year (when there are updates and quite rarely)
3. Performance (Loading Time): website speed is also much faster in compare wordpress, based on the experiences of a few people, such as: "Milan Lesichkov: «I have moved several slow WordPress sites to Laravel. The speed improvement is about 700%. 10s (WordPress)-1.5 s. (Laravel)» "
It's just that the cost needed to develop, web design will require more time and greater costs compared to Wordpress.

Conclusion

Prebuilt CMS (Wordpress) good digunakana when you create a website for prototype or simple features. As for you guys who want a Professional website, it would be better to use a PHP Framework because the loading time is faster, more secure, and fleksibiltas in development.

About The Author

Kevin Dwi

Hi I am the Director of PT. Mitra Kreasi Asia, Bachelor of Business Graduate (Entrepreneurship), Founder & Web Developer of Firstpage, and also A Book Enthusiast. You can say hi to me through twitter.