As mentioned in my article An Experience With PHP Frameworks, I will be re-launching one of my sites using YII Framework. I failed to mention that I am using XAMPP for Windows. I use XAMPP as a development web server as it does not require installation. For code editing, I am inclined to use SciTE as no installation is required as well.
Despite facing some blank walls sometimes in the development process, learning YII Framework is enjoyable. One of the restricting factor I find was that, despite the pile of documentation of the framework, I could not find good examples in them or if I ever find a sample code, it does not tell me what filename I need to create or edit nor tell me the proper directory to save the file into. Searching the net sometimes help but most of the time not. It is much better to dig into the YII code base to better understand the process. What I like most is the command line CRUD in creating a skeleton application.
After several weeks (I work a full time job as a Principal Electrical Engineer - only doing development on my free time as a hobby) of burning eyebrows, my web application is almost complete and I want to test it my Linux machine before uploading it into my web host. After editing all configurations to suit the Linux environment, on the first run, it prompted me about missing "myModel.php" files. That was the only time that I came to realize that Linux is case sensitive. This difference between Windows and Linux made my almost complete web application unusable. I need to go back and check my codes for case sensitivity. I believe that it will take me another week again before I could upload my web application into my web server.
As an advice to other developers, ensure that if you plan to use LAMP as your web application server, then make sure that case sensitivity is taken into account during development.
For computer users who don't know what case sensitivity means, "MyModel.php" is the same as "mymodel.php" in Windows but not in Linux or Unix environment. Thus if your code refers to "MyModel.php" but your filename is "mymodel.php", a missing file error will be generated.
Popularity: 1%

0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.