MattyBatty
Home of all things tech!
Home of all things tech!
Jul 24th

PHP Logo
PHP has grown from nothing to become one of the most popular languages on the web. This is mainly because of it’s simple syntax, easy usage, and seamless integration with MySQL and other databases. It’s also free, which makes it a great tool for developers when designing interactive and
dynamic content. In fact, my blog is powered by the open-source software WordPress.org, which is written in PHP.
You may be thinking “wow, it sounds great, but what is it?”. So here are a few points about PHP:
To be honest, you don’t really need much at all! A simple text editor such as NotePad or TextEdit will suffice. I use NotePad++ for various reasons, outlined in my review, but mainly because of it’s syntax highlighting. You could also try NotePad2 for a more lightweight option.
Also, as I mentioned earlier, you need a webserver to parse the script. This means you will need to host your files somewhere. This could be locally, using a package such as XAMPP, or you could buy hosting, but make sure they offer PHP support. (Most hosts will, as PHP is free and open source.)
Got all that? Good, let’s start writing some code! Read the rest of this entry »
Jul 20th
With OO-PHP, you can dramatically speed up the coding process, and re-use code much more effectively. OO-PHP stands for Object Oriented PHP. This means it uses objects, which are collections of properties and methods, rather that a bunch of variables and functions.
Also, as the object is stored in an external file, it can be accessed from any of your pages and used anywhere on your site. This makes objects especially useful. A good example of this is using an object to connect to and interact with a database. In this example, I will use MySQL; but the beauty of objects is that you can change that one file and all the pages will be updated, which makes changing between databases easy! Read the rest of this entry »
Jul 20th
Which is the best? Firstly, let’s get this out of the way. I use Mozilla Firefox. I like it because it is fast, accurate, has support for add-ons, and is totally free! I love my add-ons, in fact, I couldn’t really browse without them. But accuracy is the main factor for me. If a browser can’t render a page or interpret the code properly, then it’s not really a broswer at all, is it?
This is one of the main reasons why I loathe Internet Explorer. Yes… it’s Microsoft, yes… you have to have it. But it really gets on my nerves, especially as a web designer. 90% of my bugs are IE specific, even on fully W3C compliant pages! It’s actually quite a nice looking browser, the layout is simple and the options are clear, but it is let down by its inconsistencies and bugs, and its lack of add-ons. Read the rest of this entry »
Jul 20th
A handy text editor for all your programming and web developing needs. I have been using Notepad++ for a few months now, and I have really enjoyed using it. The layout is simple and easy to use, the colours are plain and not hard on the eyes, and it has syntax highlighting for hundreds of different languges including PHP, HTML, C++, Javascript, Java and ASP.
Probably the most useful feature of Notepad++ is the tabbed editing window. This makes it really easy to switch between files and it makes error checking much more simple. Not to mention the taskbar space saved on Windows. In addition to this, there is a find & replace option which can be used to replace a certain phrase in ALL of the currently open documents. This saves loads of time and typing. Read the rest of this entry »