How to block IP within PHP

Posted by Nurasto | July 11, 2011 | Software and Web Development | 1 Comments

In one project I was requested by client to block IPs to web based application, he just want hardcode implementation and gives me the ips. There’s multiple solution to achieve this task.

Read More …

Installing Magento on XAMPP 1.7.3

Posted by Nurasto | June 16, 2011 | Software and Web Development | 1 Comments

Long time not playing with Magento and trying to install magento on my XAMPP 1.7.3 with unchanged php.ini. Installing Magento on XAMPP bit tricky and needs to add system wide changes let’s say hosts on your c:\windows\system32\drivers\etc\hosts. In Linux kernel based OS this thing is easy like Sunday morning; sudo pico /etc/hosts.

What you gonna do to install magento on your Windows XP and above version? This following step that I was doing for Magento installation.

Read More …

ComboBox vs DropDown

Posted by Nurasto | May 18, 2011 | Software and Web Development | 0 Comments

Web development is challenging subject to learn. One thing that web browser does not providing as built in feature is the great combo box. In this cool era of User eXperience that thing should be available for user and providing programmer with flexible solution rather than playing with javascript.

What is combo box and what important about it?

You may know a component that does exist on desktop programming and that component name is combo box. Combo box gives flexible solution to developer when user are allowed to enter either from available choice or just typing like input box / text box.

This thing always interchangeable with Drop Down box. Drop down box only giving a list to be choose from and user can’t enter any data according their needs. Drop down box is the basic form where a combo box derived from and usually an options already available on particular RAD to be chosen by developer.

So, what can I do?

Nowadays, the only thing I could do is by using javascript and creating cool effect. I wish I had time to developing such code using built in form element that available in most browser, I don’t want to add overhead and costly javascript fx.

If you know already made wheel please kindly let me know :).

Method Overloading in PHP

Posted by Nurasto | June 13, 2008 | Software and Web Development | 3 Comments

I wrote PHP post more than ASP.NET does isn’t it? I am increasing it right now.

Okay, I was said that PHP doesn’t support method/function polymorphism or more correct term is overloading, but I was wrong. PHP does support it explicitly which require developer involvement to mimic method overloading like C#, VB.NET or JAVA does.  We could use magic method __call(string $name, array $arguments). I am trying to explain how we could do that in PHP comparing with optional argument like we always do.

Read More …

jQuery in BlogEngine.Net

Posted by Nurasto | June 7, 2008 | Software and Web Development | 7 Comments

I am trying to implement jQuery in BlogEngine.Net and I found errors while accessing the page which the errors tell me that element has no properties.  Fortunately, I found the solution which makes me surprise because it's work like magic and of course you need to replace the $ sign in all elements. If you want to try what I am doing with jQuery, just press search image in right corner of your screen.

In searching of jQuery integration, I accidentally found a great article to use Intellisense for JQuery in Visual Studio 2008. It helps me a lot to code because the auto completion is working, you may find the complete instruction in that site. Well, it's not the latest jQuery version but it may help you to start learning jQuery.

If you're looking offline help for jQuery you may download the CHM file on this site.

Bit and Bytes

Hello. My name is Dityo Nurasto. I am working as freelance software and web developer.

This is my personal playground. Enjoy your stay and don't hesitate to send comments.

ShoutBox