Rayhan’s blog (raynux.com)

Rayhan’s Personal Web Blog Site

Entries Comments


Standard Coding, OOP Techniques and Code Reuse

7 November, 2010 (16:48) | Bangladesh, PHP, programming, web | 2 comments

Tags: , , , , , , , , , ,


Yesterday, I have spoke on phpXperts 2010 seminar on “Standard Coding, OOP Techniques and Code Reuse“. So far this is the largest tech seminar in Bangladesh where more than 350 programmers attended excluding the speakers and sponsors. The event has also being broadcasted live on the web. The audience enjoyed the event very much from [...]

RayCrypt – PHP Class for Quick Two Way Encryption and Decryption

6 November, 2010 (19:26) | PHP, PHP Classes, programming, Reference, web security | 5 comments

Tags: , , , , , , , , ,


RayCrypt, A simple and easy PHP class for two way encryption and decryption with multiple configurations and plug and play features. Sometimes two way encryption is very much important when it comes in storing credential information. Credit Card, Bank account information, digital signature etc are very important information of user and strongly discouraged to store [...]

RayCache – An Easy, Multiple Configurable PHP Caching Class

8 August, 2010 (03:11) | class, PHP, programming, Reference | 4 comments

Tags: , , , ,


RayCache, A Simple and Easy PHP Caching Class with multiple configurations and plug and play features. Ever needed a quick caching class for your PHP application? This is another caching class for PHP which is able to solve your quick caching needs. Now a days all major frameworks comes with a standard caching library. But, [...]

Microsoft’s Initiatives for PHP Developers

16 October, 2009 (12:07) | Developer, Interoperability, Microsoft, PHP, PHP Classes, WebsiteSpark, Windows Azure | 1 comment

Tags: , , , , , ,


For years Software Engineers have been trying to get the best out of Opensource, PHP and Microsoft Products. Because of Microsoft business policy they were not successful enough. Finally, Microsoft understood the reality and started to bend towards PHP. Now they wants to make their Platform more compatible to work with PHP. Microsoft has taken [...]

RayFeedReader – PHP class for parsing RSS and Atom Feed

2 September, 2009 (00:35) | class, FEED, PHP, programming, Reference | 3 comments

Tags: , , , , , ,


RayFeedReader, A Simple and Easy SimpleXML based feed reader class using PHP. First of all it’s another reinvention of wheel. This class is designed to provide quick access to any XML based RSS feed and it’s content. Usages are very simple and require only one line of code. Html rendering functionality is provided through separate [...]

I-Blood profile badge ready to use

5 August, 2009 (17:03) | Bangladesh, I-Blood, PHP, programming, web, Web Services | 1 comment

Tags: , , ,


I-Blood, is a social network for blood. I-Blood offers donor profile for every member. Which is still in improvement. Profile badge image for i-blood beta version is available now. Here is the image: Here is the link to the image: http://beta.i-blood.com/img/i-blood-badge.gif Here is the sample code widget for placing the badge on your blog: <p> [...]

Convert a Multidimensional Array Into Single Dimension

28 June, 2009 (09:51) | PHP, programming, Reference | 9 comments

Tags: , , ,


RayArray is a array utility class. I have wrapped three static functions for converting multidimensional configuration data. It is very much useful when working with configuration data. I have used this class in one of my project to store arbitrary configuration data just like windows registry data. File: rayarray.php <?php /** * RayArray arrays utility [...]

Http Client Class for PHP development

13 June, 2009 (13:01) | PHP, programming, Reference | 9 comments

Tags: , , , ,


RayHttp, A Simple Http Client Class for PHP Development. This class is designed to provide quick http reqest method to access external website. A CURL alternative to php native file_get_contents method. It can work without any configuration and can be called anywhere is your application using singleton design pattern. Unlike other Http client class in [...]

Store and Display image from MySQL database

20 November, 2008 (16:09) | MySQL, PHP, programming, Reference | 81 comments

Tags: , , , ,


A basic approach to upload and save image to a MySQL database and then display the image from the database. First you need to create a table in MySQL Database to store the image data. Log into you database and run the following sql command: CREATE TABLE  `images` ( `id` int(11) NOT NULL auto_increment, `name` [...]

Good commenting practice in PHP.

26 June, 2008 (12:50) | CakePHP, PHP, programming, Reference | 1 comment

Tags: ,


Currently I am working on the documentation of my software written in PHP. From this documentation project I have found that proper commenting of code is a good documentation. If you write your code base along with comment then you don’t need to worry about the API Documentation of your software. You just have to [...]

« Older entries