Google

Saturday, March 21, 2009

PHP classes question

1) class myclass{

}

if you run this code then what you get ?

Guesss ... answer in last


2) class parent{

$a = 2;
}

$obj_parent = parent();

if you run this code then what you get ?

Guesss ... answer in last




Answer :

1) Fatel error
2) Parent word is reserve so again Fatel error.

Sunday, January 11, 2009

Famous javascript Library list and javascript framework

Famous javascript Library list -

* Ample SDK
* Backbase
* Clean AJAX
* Dojo Toolkit
* Echo
* Ext
* Himle
* JQuery
* Joose (framework)
* Microsoft AJAX Library
* midori
* Mochikit
* MooTools
* My Library
* Morfik
* OpenLink AJAX Toolkit
* Prototype JavaScript Framework
* qooxdoo
* Rialto Toolkit
* Rico
* Script.aculo.us
* SmartClient
* Spry framework
* Yahoo! UI Library

PHP MVC Framework list

10- Ambivalence: A Java-Maverick Port
9- WACT: Web Application Component Toolkit
8- Achievo: A good RAD framework
7- Phrame: A Java-Struts port
6- Studs: A Java-Struts port to PHP
5- Prado: The winner of Zend coding contest
4- PHPOnTrax: a Rails port - PHP5 Only
3- CakePHP: Inspired by Rails PHP4/5
2- Mojavi: The first MVC framework I fell in love with

and the winner is:

1- Symfony: Based on Mojavi and inspired by Rails

This list is based on my personal tests and use. I have tested and played with many others, but I think these are the best frameworks out there.
- The first framework I fell in love with was Mojavi because of its elegant way to implement the MVC model.
- Symfony corrected some problems in Mojavi and improved it by taking the good sides of RubyOnRails and Propel.
- CakePHP is very promising, the only problem - really, I don't know if it is a problem - is: the development process is very slow.

Saturday, September 27, 2008

Only selected are print through javascript

Hi friends

If you want to take only selected area print out not whole web page then use the following guidelines and enjoy :-


Take a print are in a single div and any event like onclick , onblur what ever you eant call the below javascript function -


/* function fnPrintArea()
{
var DocumentContainer = document.getElementById('print_table_div_id');
var WindowObject = window.open('', "printarea",
"width=850,height=850,top=200,left=250,toolbars=no,scrollbars=yes,status=no,resizable=no");
WindowObject.document.writeln(DocumentContainer.innerHTML);
WindowObject.document.close();
WindowObject.focus();
WindowObject.print();
WindowObject.close();
}

*/

Multiple date selection javascript calendar

Hi all There is a link please vistite for multiple date selection calendar in javascript


http://www.dynarch.com/projects/calendar/

If you face some issue(not sure may be , because i am facing when i have implement this) on there like


calender not show in IE7 properly ?

or

you want to disabler older date or range of dates ?


Or

Single click problem ?


then use the same site forum for all your question passionaly and still you are face problem then fill free comment here i will answer all your question as soon as possible.

how Same session Id in http:// and https://

If you have the condition like that you want same session id in the http and HTTPS prtocal the simple one line solution:-


Just make it one .htaccess file and upload in your server top root directory


and write the .htaccess like this -

"

php_value session.cookie_domain ".domain_name.com"


"


so now save the .htaccess file and upload on the server and check the cookie of your web browser , when you redirect from http to https or vicecersa your session id remain same.

Or any question regarding this feel free comment here.....

Tuesday, September 9, 2008

phpcamppune08 - PHP camp at pune 2008

phpcamp pune 2008: A gathering of php enthusiast

PHPCamp is a ‘ad-hoc gathering’ for PHP community. It similar to barcamp , but more focused towards PHP based web application development. This means that anyone can come to PHPCamp and participate.



Event Details

Date: 20th September 2008 (saturday) .

Time: 10:00am to 6:00pm (Whole day event) .

To register for PHPCamp register yourself at PHPCamp.org

To know more join phpcamp on google groups.