what is Drupal

Drupal is a PHP based free and open source Content Management System (CMS) that allows organizing, managing and publishing your content. It is based on php environment. This is carried out under GNU i.e. General Public Licence, that means anyone can download and share it to others. This tutorial will teach you the basics of Drupal using which you can create websites with ease.

Types of sites that Drupal can be used for includdrupal_branding_2012e:

blogs
personal or corporate Web sites
portals
forums
social networking sites
resource directories
e-commerce sites
.

What You Need?

A dedication to learn

Commit to learn Drupal. Just giving one or two hours a day will get you ahead long in future. You won’t be skilled if Drupal said to be a CMS to play around in your leisure time. If you are really interested in Drupal , and want to work as a developer, or as a Drupal developer, making a commitment to work and to educate yourself on a daily basis is never under rated.

Prior coding skills?

You don’t have to know coding to start with Drupal. Ofcourse, if you know, you’ll get more advance than a new user without technical skills. For Drupal developers, it is required. But for a basic usage, Drupal as a CMS, you don’t need to have coding skills.

Facebooktwittergoogle_pluspinterestlinkedinmail

Basic Components of Net Framework 3.5

Components of .Net Framework 3.5

Before moving to the next step on .Net technology, let us see various components of the .Net framework 3.5.

Following are components of the .Net framework 3.5 and the work they perform:
1. Common Language Runtime or CLR

It performs memory management, debugging, security checking, exception handling, thread execution, code safety, code execution, verification, and compilation. The code that is directly managed by the CLR is called the managed code. After compiling the managed code, the compiler converts the source code into intermediate language (IL) code. A Just In Time(JIT) compiler converts the IL code into native/machine code, which is CPU specific.

2 .Net Framework Class Library

It contains a library collection of reusable types. classes, interfaces, structures, and enumerated values, which are in group called types.

3. Common Language Specification

It contains the specifications for .Net supported languages and implementation of language integration.

4. Common Type System

It provides general rules for declaring, using, and managing types at run-time, and cross-language transmission.

5. Metadata and Assemblies

Metadata is the binary information which describes the program, which is either placed in a executable file (PE) or in the memory. Assembly is a logical unit consisting of the assembly manifest, IL code, type metadata and a set of resources like image files.

6. Windows Forms

Windows Forms contains the graphical presentation of any window displayed in the application.

7. ASP.NET and ASP.NET AJAX

ASP.NET is the web development model and AJAX is an extended part of ASP.NET for developing and implementing AJAX functionality. ASP.NET AJAX provide the components that allows the developer to update data on a website without completely reloading the page.

8. ADO.NET

It is the technology used for manipulating with data and databases. It provides access to information sources like SQL server, XML, OLE DB, etc. The ADO.NET technology connects to database for retrieving, manipulating, and updating data.

9. Windows Workflow Foundation (WF)

It assists in building work-flow-based applications in desktop environment. It haves workflow run time, activities, work-flow designer, and a rules engine.

10.Windows Presentation Foundation

It provides a partition between and the business logic and the user interface. It helps in developing visually stunning interfaces using media, two and three dimensional graphics, documents, animations, and more.

11. Windows Communication Foundation (WCF)

It is the technology used for setting-up and executing connected systems.

12. Windows CardSpace

It provides safety for accessing resources and sharing private information on the network.

13. LINQ

It imparts data querying capabilities to .Net languages using a syntax which is equivalent to the tradition SQL query language.

 

Facebooktwittergoogle_pluspinterestlinkedinmail

Begin With ASP.NET

ASP.NET Overview

ASP.NET is a development framework used for building web pages and web sites with HTML, CSS, JavaScript and server script.

ASP.NET supports 3 different development models:

Web Pages, MVC (Model View Controller), and Web Forms:

 

Prerequisites

Before we start with this tutorial, you should have a some knowledge of .NET programming language. It will be good if you have an understanding of different internet technologies such as HTML, CSS, AJAX. etc, As we are going to develop web-based applications using ASP.NET web application framework.

Facebooktwittergoogle_pluspinterestlinkedinmail

XML Syntax

RULES FOR XML SYNTAX DECLARATION

  • If  document contains a XML declaration then it must be first statement of the document.
  • XML declaration is case – sensitive, where document begins with <?xml>. “xml” is in lower case.
  • An HTTP protocol can override the value of encoding that you put in the XML declaration.

<?xml version="1.0" encoding="UTF-8"?>

 

SYNTAX RULES  FOR ELEMENTS AND TAGS

Element Syntax: every XML-element must be closed either with begin or with finish components as shown below:

<element>....</element>

or just by this technique:

<element/>

Nested elements: An XML element can contain other XML- elements as its child, but the children elements must not overlap it parent element. i.e., an end tag of an element must have the same tag name as that of the most recent unmatched start tag.

example for incorrect nested tags:

<?xml version="1.0"?>
<author>
<name>syntax definition
</author>
</name>

example for correct nested tags:

<?xml version="1.0"?>
<author>
<name>syntax definition
</name>
</author>

Root element: An XML document must have and can have only one root element. For example, following example is not a correct XML document, because both the a and b elements occur at the top level without a root element:

<a>...</a>
<b>...</b>

The correct form of XML document is:

<root>
   <a>...</a>
   <b>...</b>
</root>

or

<a>
   <b>...</b>
</a>

Case sensitivity: The tag names of XML-elements are case-sensitive. This means that the name of the starting and the ending elements should be exactly in the same case.

For example <Syntax> is different from <syntax>.

Facebooktwittergoogle_pluspinterestlinkedinmail

XML Introduction

XML refers to Extensible Markup Language. It is used to store and to transport data.

XML SYNTAX DOESN’T HAVE PREDEFINED TAGS

The XML language do not have any predefined tags.

The tags in the example below(student, course, etc) are not defined in any XML standard. These tags are “Created” by the author of the XML document.

HTML works with predefined tags like  <h1>, <p>, <table>, etc.

With XML, the developer must define both the document structure and  the tags. And each tag must have its starting and ending tags.

EXAMPLE 1

<college>
     <course1>
           <subject1></subject1>
           <subject2></subject2>
     </course1>
     <course2>
          <subject3></subject3>
     </course2>
</college>

The above example explain how we could arrange the element tags to maintain the data through XML.

In the above example, It explain that a college may have multiple courses and each course have their subjects.

This is how we write XML document.
The Elements in XML document may contain other elements or data or nothing. 

EXAMPLE 2

<root>
  <child1>
    <subchild>syntax definition</subchild>
  </child1>

  <child2>
  </child2>
</root>

In the above example first tag also refer as element named as root contains two sub elements named child1 and child2.

And child1 contain a data value which is “syntax definition” where as element named as child2 is empty

 

PROLOG

A Prolog defines the XML version and the character encoding. However it is completely optional but if used it must be place at top of document.

<?xml version="1.0" encoding="UTF-8"?>

 

Facebooktwittergoogle_pluspinterestlinkedinmail

PHP Script Basics

PHP Script Basics

PHP is a scripting language which is used for developing dynamic webpages. Php script and html code can share same file for the development. So to differentiate php code from other stuff. There are four ways to define syntax :

1.  The Most common ways is to use Canonical PHP tags to mark where is php code

   <?php /*place your php code here*/ ?>

 

2. Short-Open tags is the shortest option one can use, but for using this, one must :

  •        Choose the –enable-short-tags configuration option when you’re building PHP script.
  •        Set the short_open_tag setting in your php.ini file to on. This option must be disabled to parse XML with PHP because the same syntax is used for XML tags.

   <? /* Your php code here */ ?>

 

3. ASP style tags are just like actual Active Server Pages tags.  And can be used after some configuration in php.ini file.

   <% your php code %>

 

4. HTML script tags are just how we add any javascript in html. Just replace javascript with PHP and place your code within the script tags.

   <script language="PHP">...</script>

 

The file which contain php code should be saved with .php or any other compatible extension.

Facebooktwittergoogle_pluspinterestlinkedinmail

HTML Basics – Syntax definition

HTML DOCUMENT

It starts with <!DOCTYPE html html-file-extension-interface-symbol_318-45345>  //It’s used for rendering purpose.

All  elements must be written inside opening <html> and closing </html> tags.

Visible portion of markup comes within <body>…..</body> tags.

Example:

<!DOCTYPE html>
<html>
        <head>
                 <title> MY TITLE </title>
          </head>
        <body>
            //place your content here
            </body>
</html>

HTML HEADINGS  SYNTAX

<h1>,<h2>,<h3>,<h4>,<h5>,<h6> tags can be used to represent different text size.

It used for heading, sub-heading and so on.

Example:

<h1>heading1</h1>
<h2>heading2</h2>
<h3>heading3</h3>
<h4>heading4</h4>
<h5>heading5</h5>
<h6>heading6</h6>

COMMON ELEMENTS

Paragraph can be defined with <p></p> tags

Anchor tags can be used to generate hyperlinks <a>

Images can be added with <img> tag. It’s Syntax is explained in below example.

//PARAGRAPH
<p>This is our sample paragraph</p>

//HYPERLINK
<a href="http://www.syntaxdefinItion.com">link text</a>
/*
here, the target location is added to the href attribute.
Anything at place of link text will work as hyperlink on frontend.
*/

//IMAGES
//HTML images are defined with the <img> tag.
<img src="logo.jpg" alt="mywebsite.com" width="104" height="142">
/*The source file (src), alternative text (alt), and size (width and height) are provided as attributes:*/
Facebooktwittergoogle_pluspinterestlinkedinmail

Welcome To Community

welcome,

Here we will try to help every individual or professional who is facing difficulty in their education or profession related to coding.
So, We request all our members on-board to help other fellow members with the information you have.

Regards
Admin

Facebooktwittergoogle_pluspinterestlinkedinmail