Archive for category Tools / Plugins / Extenstion

jQuery Fancy Custom Radio-button and Checkbox

Fancy Radio-button and Checkbox

Fancy Radio/ Checkbox

I have written a jQuery Plugin for Fancy Custom Checkbox and Radio-buttons. To make form elements visually more expressive. I required this for one of my project and later on I have rewritten it completely to make it more generic and easier for jQuery Lovers. I am great fan of jQuery and I am inspired by http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/ to write this plugin.

It's fairly easy to use just like any other jQuery plugin you just have to write couple of lines of javascript code and add some CSS to your html.

Javascript You need:

$(document).ready(function(){
	$(".radio").dgStyle();
	$(".checkbox").dgStyle();
});

Read the rest of this entry »

Tags: , , ,

Use Google Docs Viewer for Document viewing within Browser

Google Docs

Google Docs Viewer

I was looking for a way to let users see Microsoft Word Doc or PDF files online while using my application without leaving their browser without downloading files and then opening it to view with Word or PDF viewer. I was looking for some way out either via any PHP or Microsoft.NET libraries, did some googling on that; but later on I just got an idea that google already has all code written for me.. when I have any email attachment in PDF or DOC or DOCX google does it for me..! Even while searching I can see PDFs by converting them in HTML. So I just googled it up and found that Google already has this ability that we can use Google Docs Viewer without any Google Account Login. YES that's true no Google Account login is required. It's damn simple and easy. Just pass document path as attachment as parameter and we are done.

Google Docs Viewer gives us ability to embed PDF, DOC/DOCX, PPT, TIFF:

Yes that's true; Google Docs Viewer gives us ability to view/embed functionality of PDF, DOC/DOCX, PPT and TIFF viewing on the fly without writing a single line of code by just giving a link or embedding within. No PPTX or XLS/XLSX is supported, Read the rest of this entry »

Tags:

Radio-buttons with Checkbox behavior – a jQuery Plugin 1.2.5

This is almost final release to a innovative plug-in which changes the basic behavior of any Radio-button in our form and makes it selectable or un-selectable just like a checkbox.

It includes some code improvements and stays compatible to latest version of jQuery 1.3.2 just like 1.2.4. It has been tested on Safari 4.x, Internet Explorer 7.0+, Firefox 3.x and will work on Chrome 2.x or 3.x as well.

I request any users to post back any problems/bugs they encounter or enhancements they need to be included.
Read the rest of this entry »

Tags: , ,

Free/Open source tools for Web Masters and Web-Conferencing

I have been using many open source or free utilities/software which can beat their commercial contenders for sure, and I would like to share them here with you on this blog post. Read the rest of this entry »

Tags: , , ,

PHP – Downloading a File from Secure website (https) using CURL

Recently in one of my project I was suppose to download file from a secure website. Actually I have to set the scheduler job for downloading nightly builds/full files from the server and the files are placed on secure website.

Initially I tried that with file_get_contents function but it was just downloading 0KB file. Then it strike me that oh..! I can't use file_get_contents as it can't understand the HTTPS protocol here. So what could help me nothing else then our best friend CURL. file_get_contents and fopen kind of other functions works fine with any http web locations.

Here is the simple CURL file transfer function snippet which will copy file from any secure http location. Read the rest of this entry »

Tags: , , ,

Firebug Lite 1.2 Released

As we all know that Firebug is a great tool for debugging and profiling our Javascript code, but we have been limited to do it with Mozilla based browsers (Firefox). Firebug team has done great job by providing us ability to use Firebug Lite with Internet Explorer, Opera or Safari.
Firebug Lite is just a small javascript library which could enable us to use most of the features of Firebug Extension without any Installation..!

Firebug Lite is subset of Firebug that could be used in IE, Opera and Safari. Firebug Lite 1.2 is packed with XHR, DOM, HTML and Javascript debugging.

You can embed Firefox Lite into any web page / application to start debugging.

To embed Firefox Lite into any page just attach following code into your page.

<script type='text/javascript'
        src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>

Or else you can download source file to your local system and can include into your pages. You can also drag-and-drop following link to your bookmark and it will enable Firebug Lite on any page.

Place Firebug Lite Bookmark

or

Go get Firebug Lite From Firebug Lite Home.

Just have a look at these screen-shots... Read the rest of this entry »

Tags: ,

My experiences with SOAP Web-service PHP vs .NET

Recently I have been developing web-services for integration of one of our flagship product to other POS software at Meditab Software. My official working platform is PHP and we have been developing web services for communication between our products to internal web applications in the past but it was like "We understand what we speak..!" as we have not been dealing with any external entity during these communications the input parameters used to be simple data-types and for output we understand what we give back using single simple data-type.

When I read requirement specification for the web service which I have developed recently I thought I could finish it in a day or two as I have been developing web-services recently. I went on and started and went into trouble with "complexType" declaration in WSDL. I was having C# example to work with provided by the company which was going to use my webservice. I tried that but the thing is when you use Microsoft ASP.NET platform to develop web services what developer needs to is just expose their method with [WebMethod] attribute and you are done! All hardwork and complex WSDL generation will be done by .NET framework. But when it comes to PHP you gotta deal with WSDL generation and make sure you do it perfectly or else your web-service won't work. Read the rest of this entry »

Tags: , , , ,