My blog has moved!

You will be automatically redirected to the new address. If that does not occur, visit
http://ashokbasnet.com.np
and update your bookmarks.

Showing posts with label Tutorials. Show all posts
Showing posts with label Tutorials. Show all posts

Thursday, July 14, 2011

Networking programming in C

Networking has become an integral part of our everyday life and we are in some way connected to others. It has revolutionized the way we are living. Many times we need our application to write some data into a file, stored on a remote machine connected through a network, display some message in desktop of remote machine or simply exchange messages across the machines connected to the network.

C is an intermediate programming language which is very powerful in terms it is a high level language as well as it is able to access the hardware  very efficiently and effectively. Computer Network means a collection of computers connected either by some means of wire or wireless technology to share data, resources etc. So network programming is important to learn and be able to understand how networks can be programmatically controlled.

image

Friday, July 8, 2011

JQuery Tutorial–II : Basic CSS Selectors

Selectors in JQuery is used to select specific document objects like <body>, <h1>, <p>, <a> and many more. It’s use has made writing JQuery very easier and get the required DOM to have control over it.

Using Basic CSS Selectors

Any DOM element may have their unique ID or group of selctors may have  a common class for styling. The ID selects unique element from the HTML DOM and class is applied for a wide selection. For eg.

<p id="myParagraph">
  This is the paragraph with ID attribute.
<p>
<p class="ourParagraph">
  This is first the paragraph with Class attribute.
</p>
<p class="ourParagraph">
  This is second paragraph with Class attribute.
</p>

For accessing these ids and classes of paragraph it can be done as :-


Saturday, July 2, 2011

JQuery Tutorial - I : Getting Started

JQuery is very great tool for accessing the DOM(Document Object Model) elements is any webpage. JQuery is really a cool Javascript. In this tutorial I am going to show you how to use Jquery to make life easier without having to know all the Javascript lengthy codes or statements.

First of all u need is the Jquery file downloaded from the JQuery site or a link of Google code repository for JQuery. U can either download the development version for testing purposes or min version for depolyment purpose. After u download, create a webpage of ur choice and put your jquery.file into the folder.

I will be teaching you some events handling with the simple JQuery selectors. Lets get started. Lets create a page called index.html.