Zyaga Writing about whatever the hell I want, cuz it's the Interwebz!

Archive Results for ' coding'


6Jan/100

Tutorial: C# XML Serialization

Tutorial: C# XML Serialization

Almost every decent sized project in any programming language winds up having at least one configuration file. XML is a standard we often rely on because it’s generally perfect for the job. However, most people end up simply working with the XML file like they would any other file or simply scanning along each part of the “tree”. XML Serialization can take care of a lot of these instances with much better results, by providing an actual class interpretation of the configuration file. Let me show you.

9Nov/095

Tutorial: PHP Random Image

Tutorial: PHP Random Image

I was working on a website of mine when I came across the need to be able to have a script randomly pull an image from a specific folder and then display it. Obviously, server side scripting is going to be involved so I decided to write this function in PHP. Let’s take a look!