Sunday, August 29, 2010

jQuery examples

jQuery is a collection library having different functionality in Java Script. It can be used with any type of server side scripting language like PHP, ASP, JSP, Perl etc..

see examples where you can use jQuery

1. Menu bar using jQuery Online example and Code

2. Post data check and message
online example and
Code

3 Over all functionality of jQuery can be seen in this tutorial

Friday, August 27, 2010

LAMP --- Linux-Apache-Mysql-PHP(Perl/Python)

LAMP is an abbreviation of Linux, Apache, Mysql and PHP or Pern or Python. It a complete package for developing web application. Whole package is available in internet with free of cost. It is a open source software package.
where,
Linux- operating system highly secured operating system
MySQL- Database management system owned by oracle corporation
Apachee- HTTP web server
PHP - Hypertext pre-processor a server side scripting language.(available in object oriented form also)

For window plat form LAMP is called as WAMP where w for windows
You can download LAMP via this link
CLICK

And Link for downloading WAMP is
CLICK

Thursday, August 26, 2010

DOM, Java Script, jQuery

Code written in HTML, DHTML and XML is changed in sequence of objects for interoperability and further processing propose this sequence object is called DOM(Document Object Model). HTML do not need the sequence of Objects but JavaScript needs sequence of objects to indentify each tag and data of html or xml or dhtml.

so java script can process html, xml, dhtml data in client side dynamically. Java script is a client side scripting language for DOM objects.


jQuery is a collection of java script library. It is developed on basis of Java script and It also used for representing DOM objects and other functioning like creating animation, handeling events and develop Ajax applications.

Tuesday, July 27, 2010

How to add new user in sql server management studio 2008

Hei guys,
I was also suffering from this problem and finally I got succeeded so i am sharing my experience here.

Steps:
(This is a experience of doing it in windows 7 but should work in xp, vista and 2000 as well)

1. Open SQL management studio and log in
first as windows authentication mode.
(choose proper server name in which you want to add user)
as shown in figure










2. Extend security folder content which is located in right side if window. Right click on login tab (as shown in figure) and add new user.










3. put login name, click radio button to SQL Authencation,
put password
uncheck enforce password policy and select database as master as shown in figure










4. click on user mapping tab and click on master database and make it owner of database as shown in figure.

















5. Now you completed the process click ok and restart computer then try to login with your new user account. For sure it will work.

If you have any problem please feel free to ask me :)

Thank you
mebalkrishna@gmail.com

Tuesday, July 20, 2010

Difference between Stack and Heap

Stack

It used by value type. It can store fixed amout of data and stored in RAM.

Stack is used by Int, Array, Enumerator, Struct. Memory management is automatically done by program so we dont need to create desctructor.

Heap

It is Used by reference type. It has unlimited size. Data whose size can not be determined before execution of program and need to allocate dynamically in run time are fall in this category. For example if we need to read data of file then it may have any size so this type of date are stored in heap. It is stored in secondary memory i.e. harddisk.

String, Classes use heap for storing data. Program doesnot about memory status of heap so programmar him/herself need to destruct it.