Blog Archives

Versioning in Git using Tags

Recently, I looked at tagging different versions of my project. First, I reviewed the Git manual1 and found the instructions for creating an annotated tag. git tag -a v0.2 -m ‘development version’ Once you have a tag, your list of

Tagged with: , ,
Posted in Git, Web Development

Getting the Duration of a Video with PHP

I wanted to calculate the duration of a video in seconds as in integer variable. For this I needed software outside of PHP. So, I decided to use the open source video encoding library, avconv, running on Linux Mint /

Tagged with: , , , ,
Posted in PHP, Video Encoding, Web Development

Splitting a file path in PHP

During the week, I was faced with the problem of dividing a given string containing a file path into the file name, extension and the path to the file’s directory. For example, “/home/myuser/myfile.ext”, has to be split into¬†“/home/myuser/”, “myfile” and

Tagged with: , ,
Posted in PHP

Installing Laravel on Linux Mint / Ubuntu

Recently, I went to install the Laravel PHP framework on a fresh virtual machine. Here are the steps that I went through. First of all, I created a directory for my project and made this my current directory. $ mkdir

Tagged with: , , , , ,
Posted in Web Development

Including Autoloader and Laravel

This week, the challenge was to integrate the front and back ends. The front end code was deployed to our test server. There was a predefined folder structure for the back-end code that I had to copy my PHP code.

Tagged with: ,
Posted in Web Development

Improving the development cycle for back-end development

My first web project was based on the LAMP stack. We used NetBeans on Windows as the code editor for writing PHP. Once the code was written, it was transferred to a remote Linux server to be served by Apache

Tagged with: , , , ,
Posted in Web Development