Choosing a Desktop Application Framework

April 26, 2017

Triumph is a desktop application that is used by PHP developers to write their programs. As with any application, a early task of the project is to choose a framework from which to base the project on. Choosing a framework is an important decision because it dictates the application structure. A good framework can make maintenance easier and eliminate certain classes of bugs. Here are some factors to that I took in consideration when choosing an application framework for developing Triumph. Feel free to play along.

Continue reading ...

PHP IDEs A retrospective on project creation

April 24, 2017

I have been bit too focused on coding for a while now and need to step back a bit. The more time I have spent into Triumph, the harder it becomes for me to remember my initial goals and ambitions. This is bad because goals drive project vision and direction. This post is an attempt to refocus myself on the project's goals and ambitions.

Continue reading ...

Setting up PHP Debugging with XDebug

October 03, 2015

Have you ever spent hours trying to figure out why your PHP web page was not working properly? Do you hate having to add var_dump, var_export, or print statements whenever something is not working, only to remove them once you figured out the bug? Do you wish that there was a way to pause your code and see the contents of variables in your script? There is a PHP extension called XDebug that will allow you to do all this; it allows you to stop your script on demand, and will allow to run your script one line at a time. The process of running your script one line at a time is called 'stepping' through your program. XDebug allows you to step through your program, plus inspect variables, and even run some code while your script is paused. The unfortunate thing is that XDebug does not come with PHP by default, but the steps below will show you how to install and run XDebug. Then, I will show you how easy it is to debug scripts with Triumph 4 PHP.

Continue reading ...