Archive for category KmFa

Tinkering with Tags

PHPLibs has an HTML module which contains the HTMLTag and HTMLDoc class. Those two classes have many commons with DOM’s element and document specification, but they are actually complete different and dont try to use it for DOM parsing and manipulation.

PHPLib’s html module was designed to generate html source and not parse one. It is the opposite of php’s native DOM usage, where most of the times is used to parse xhtml/html source. This is because creating elements using the DOM specification could be very painfull and you will probably loose hours of writing while you could just dump static html code or generate dynamic code using a home-made string concatenation function like “my_html_tag”.

Read the rest of this entry »

Tags: , ,

Hello world!

Although this is the default title of the first example post, it describes in the best laconic way the start of a blog about computer art. I prefer the term art because you don’t just built things mechanically, you create new things and inspiration is a prerequisite just like art. There is also the consuming part which is a verification on this art but we will not discuss it here, there are a lot of blogs out there if you are interested on.

In this very tiny blog, posts will come about this art. Posts that will cover new technologies, every day problems, mistakes, tutorials and any other subject that must be touched. I will also try to define through your comments (I hope there will be some) the existence of KmFa, which is a project with no goals, no target, just a place to calm down the creative part of me.