RSS-feeds become the most popular content format in the web todays. There are tons of RSS-readers, aggregators, desktop and online tools for viewing feeds in the world. But what about Web-browsers? Every day I make same mistake: I click “RSS-feed” link and my browser displays XML-source of the feed. Why I can’t examine feed directly in my browser?
In this article I’ll try to create feed which will be displayed pretty well both in browser and RSS-reader. I’ll use XSLT 1.0 technology to do it (because my Firefox does not support XSLT 1.1).
Read the rest of entry »
In Zend Framework’s mailing list discussion about Zend_Config class is in full swing. I have my own ideas about this class and I will try to explain their here. I need something that can load and save configuration into different storages (for example, XML, database or plain text like INI-files), it’s necessary to have ability to change every parameter of storage (for example, file name, database tables or even database structure), it will be able if I can extend storage system with my own storage strategies.
Read the rest of entry »
Zend Framework’s View class has very bad capability for extending. It contains template variables but does not allow to access them, it has array with different pathes (templates, filters), but does not allow to add another type or access them. Therefor only way to use Smarty with Zend Framework is to abandon Zend_View and manipulate Smarty object directly.
Read the rest of entry »
I started discovering of Zend Framework and was confronted with a problem. When I’ve placed my test sample into site’s subdirectory (http://localhost/test/), default router tried to find TestController which is not exists of course and routed me to IndexController/noRoute. It’s not good for me. I decided to create my own router.
Read the rest of entry »
By default Zend Studio does not allow to change interface language to Russian. I found simple trick to do so. Go to the config folder (config_5.0 for Zend Studio 5.0 and config_5.1 for 5.1 version). This folder usually placed under c:Documents and Settings<Your Current User>ZDE.
Then open desktop_options.xml file and find following strings:
1 2 3
| <customized_property ID="desktop.language">
<locale language="en" country="" variant=""/>
</customized_property> |
You need just to change language attribute to ru and country attribute to RU. That’s All!