Do you want to quickly organize your multi-language website in Zend Framework, such that you can easily add languages without breaking the website? And from there, progressively translate pieces of your website? Imagine a website where you have a handful of static content – think of about pages, policy pages and disclaimer pages – and you want to easily add translated pages to your system, without having to go through programming the logic of selecting the right view for these pages.
Look no further, for the ZF1E library offers exactly that solution. Using the built-in MultiLanguage resource, it will determine which language part of your website your visitor is accessing, and grab the correct view for that language.
Recently, I seized the opportunity to recreate a 3D simulation program that I made during my University years. Back then, I didn’t know about versioning systems, and there was nothing like GitHub, so the code has been lost. But as I still remember how I implemented different parts of the program, I started the task, and put it on GitHub.
SDLTutorials.com offers a nice set of tutorials to get you started in game programming with the SDL library. SDL stands for “Simple DirectMedia Layer” and is a convenient layer between your application and audio, mouse, keyboard, joysticks and the screen. It also supports 3D via OpenGL.
And the good thing about SDL is that it is cross-platform: it works not only on Unix-based operating systems such as Linux and BSD flavors, but also on Windows, MacOS and MacOSX.
The first set of tutorials introduce the SDL video screen and the SDL events. You will also learn about the basic composition of a typical game, and how to deal with animations and object collisions. The second set of tutorials deal with separate subjects within SDL which may be useful in your projects. There is an SDL playground project using C++ on my GitHub which is based on these tutorials. Don’t forget to check out the branches. Feel free to fork from it!
I have different projects in mind with SDL, such as object detection from webcam streams, and an artificial world with artificial entities in a client/server architecture. And you, what would you make?
Sticking to old habits is bad – people need to develop, especially programmers, because the rate of development in software engineering is amazingly fast. I have been a SVN user for a long time, and found myself comfortable with it, so comfortable I didn’t bother checking out other revision control systems, such as the popular Git.
I should have done this a long time ago: I created myself a GitHubaccount. I have made quite a few projects in the past, but they are kind of lost. I am going to recreate them, and keep them in this GitHub account. To start with, I have uploaded the code of the base controller class from the previous post in the ZF1E project.
If you have a GitHub account, or know of interesting repositories, why don’t you share it with me?