WordPress vs Web Developer

WordPress vs Web Developer

In this post I will be comparing the development of my website using technologies such as JQuery, AJAX and a CMS with trying to achieve the same outcome using plain HTML/CSS with JavaScript and PHP.

JQuery is a JavaScript library. This means that it is based around JavaScript but adds additional functionality to the base language. JavaScript is a very powerful tool, so why is this necessary? Because as much as JavaScript is capable of a lot, some techniques take a lot of time to implement. Say, for instance, you wanted to run through a loop of every element in an array. This could be easily achieved by creating a loop from 0 -> array.length. Great! But over time, this becomes monotonous and nonsensical. The phrase 're-invent the wheel' comes to mind. This is what libraries like JQuery aim to solve, by providing pre-determined methods to be accessed to utilise common activates. Instead, for this example, we could use JQuery's .each() to achieve the same effect. 

Within the WordPress site created in this module, JQuery has sped up development significantly. Functions which would have taken time to implement have been reduced to a single method. For example, without JQuery, fading in the header on my site could be achieved by a block of CSS, which would need to be researched and manipulated to the desired effect. With JQuery, a simple .fadeIn() does the trick.

Another technology used in my work was AJAX. In my opinion, AJAX is very special. Kinda Magical. For anyone who has experience making HTTP requests without AJAX, being able to make requests without reloading the page is revolutionary. At least, I thought so. Making an application using AJAX is easy, but also makes such a difference to the UX (user experience). AJAX requests are standard in modern web applications, and the effect of making a request without page refresh is not possible with plain HTML/JS. 

A content management system (CMS) such as WordPress gives you most of the tools you need to create your very own website. On top of this, WordPress comes with a blog as standard. This is a massive difference compared to hard-coding a site. WordPress comes with so many features out the box such as a plethora of plugins, widgets and themes. The difference this makes to a developer is significant, but it makes the world of difference for non-techies. The amount of time and effort to create a site with blog functionality with an aesthetic frontend is all saved, as WordPress has an effortless and intuitive service to provide just that. 

In conclusion, using technologies and frameworks to aid in your development is almost essential in modern days. I really see no reason to not use them. Time is saved, effort is saved, headache is saved. And on top of that, technologies like AJAX provide functionality which you are not able to achieve with pure HTML/CSS/JS.

Comments

Popular posts from this blog

Creating a Reddit post

Reddit Authentication & Access tokens

Deleting a Reddit Post