Monday, March 21, 2011

Needed an interpreter to run. class file compilation, interpreters can be contained in the Web-browser that has been to adopt Java to run Java applet, or can be in the form of interpreter java.exe to run java applications.

if the subroutine only represents a task, the object is a combination of data (in the form of instance variables - or "instance variables") and some assignment or called "behavior" of these data sets (in the form of an instance method - or "instance method"). Therefore, the object is a new structure that can handle the more complicated the complexity of a program

This section covers the manufacture and use of objects in the Java language. It will also discuss the core of object-oriented programming, namely: inheritance and poly morfisme (changes form).

JAVA is one oriented computer programming language objects, created by a team at Sun Microsystems, UNIX workstation company is quite famous. Java was created based on C + + language, with the goal of "platform independent" (can be run on various types of hardware without recompilation), with the slogan "Write Once Run Anywhere" (Wora). Compared with the language C + + then Java is essentially simpler, and using a pure object.

As an introduction to the Java application development team created the HotJava, an application written in Java. HotJava is the application of "Web-Browser " which is capable of running Java programs called "applets" on the webpage. The emergence of Java has been stimulating the emergence of the dynamics in the Web world, not static anymore, and can provide interactive services. Today all the Web-Browser has to support JAVA applications and even the emergence of Java has triggered the emergence of new things such as JavaScript, Visual J + +, Active-X etc., which try to emulate the power of Java in the Web world.

Although Java applications are generally designed for the Web, but in essence Java is the language "general purpose"that can be used to write programs in general as in the language C and C + +.

JAVA language does not appear suddenly, or because the discovery was accidental. JAVA origins began in 1991 when Sun Microsystems was doing research experiment in electronic products. James Gosling (the head of the research project) along with Patrick Naughton was assigned to design software that is independent, not dependent on the type of hardware to be used in various electronic equipment. James Gosling and then use the language C + + but it turns out he was facing many difficulties, and therefore created a new language based on C + + but with some improvements. This language was then called Oak, and is used to create intelligent software for electronic equipment made in Sun Microsystems. In 1994 when the Web became popular, the Oak language name later changed to JAVA (one reason, because it turns out the name Oak was first used for something else, then the name JAVA seems no one has used only used for names of hot coffee, and according to Gosling name is quite "cool", Gosling was inspired to use the name Java while drinking coffee). JAVA is then used to create a browser that is named WebRunner, after successfully HotJava browser is then called with the symbol hot cup of coffee.

Year 1995 is the year's most important for the Java language. Java and HotJava then published on the Web, Alpha version released in early 1995. JAVA was originally reserved only for SPARC Solaris, and is also implemented on Windows NT, and in the summer of 1995 a new in-implementation for Windows 95 and Linux. JAVA version of Beta 1 was announced in autumn 1995, then followed with a version of Beta 2 in December, at the same time MicroSoft and IBM expressed their support for Java technology.

On January 23, 1996, Java 1.0 was officially announced and made available on the Web for download, then one of the Netscape 2.0 browser and JAVA JAVASCRIPT famous adopted. JAVA development does not stop there, a variety of related technologies have now been introduced, such as J2EE (Java 2 Enterprise Edition), JavaBean, Java Server Page (JSP), and JME (Java Mobile Edition).

One of the capabilities of the Java language is to use the applet on a Web page for a form of interaction with website visitors, such as appears in one of the following Web page where the applet is used to study the history of Egypt.

According to the definition provided by Sun Microsystems, Java is a simple programming language, object-oriented, distributed, interpreted, robust, secure, architecture neutral, portable, high-performance, multithreaded, and dynamic.

Java language is simple: the design of the Java language dibust such a way that can be quickly identified and understood by the first programmer because it is similar in C / C + + and the second is simpler than the C / C + + in some ways, because things are difficult in C / C + + was removed in Java, for example the use of pointers.

Java language is simple: the design of the Java language is such that it can quickly be identified and understood by the first programmer because it is similar in C / C + + and the second is simpler than the C / C + + in some ways, because things are difficult in C / C + + was removed in Java, for example the use of pointers.

Java is an object-oriented language: the concept of objects applied to the manufacture of Java programs, even Java uses the concept of these objects are genuine, so it is not possible for a man to make Java programs without defining the class and use the object.

Java is a distributed language: Java language is designed in such a way that supports the creation of applications in computer networking. Java provides several classes-objects to support network applications compiled in the package java.net.

Java is a robust language: Java design is made, thereby reducing the possibility of the program becomes frozen (freeze) when run, the possibility of error is minimized, for example by applying the strong-typed so that the program can avoid the error because the wrong data type. Java memory model apply also to prevent the corrupted memory and overwrited, for example by removing the use of pointers.

Java is a secure language: Java automatically apply security to the application, thereby reducing the possibility of attacks from the network user.

Java is architecture neutral language: Java programs that have been compiled to run on various machines and does not depend on a single computer architecture course.

Java is a portable language: Java programs very easily moved from one machine to another without the re-compilation, because in fact when at-compile the Java program converted into a bytecode format that is received by all machines, then on each machine is available Java run-time-or Java-virtual-machine (JVM) that can run the bytecode.

Java is a language of high-performance: basically compiled C programs run much faster than Java, because the result of compiling C is the machine language of the computer used to compile, but not necessarily the result of this compilation can run on different computer architectures . Java programs are compiled into bytecode that can walk in different machines, but when run this bytecode to be interpreted by the JVM into the appropriate machine language, so much slower than C, but because Java can be used on computer networks that reality was not too fast because the barrier channel communication then the Java program still feels pretty fast.

Java is a multithreaded language: Java is designed to handle a variety of street applications simultaneously, such as playing a song, while doing the download, and users are doing scrolling on the window of his observed. This incident called multithreaded.

Java is a dynamic language: the Java language designed to adapt to its environment that can change quickly, Java can call the various class-object in times of need, despite having to go through the network, besides that it has a representation of the Java run-time so that the object being used by an application to be examined comes from a class through which run-time information.

Prior to the Java language was introduced as a programming language in general programming languages ​​such as Pascal, C and C + + using a compiler to translate the program into assembly language or machine language. BASIC language is known as a language interpreter where the program is compiled but not directly translated by the interpreter on the line when the program is typed into the computer memory.

Java language is essentially using the second technique, the compiler and interpreter. When a Java program that is being edited, will be recorded the name of the file must have the extension. java. The file is then in-source compilation with javac compiler into bytecode files, not the assembly and not the machine language. The results of this compilation of bytecodes are stored in files with extensions. class, this file can not be executed (execution) because no machine or assembly language.

Needed an interpreter to run. class file compilation, interpreters can be contained in the Web-browser that has been to adopt Java to run Java applet, or can be in the form of interpreter java.exe to run java applications.

Java interpreter commonly referred to as a JVM (Java Virtual Machine) provided by Sun Microsystems for each platform, with this technique, the Java program can Wora slogan, because the in-distribution program is the result of compilation. class that looks the same on every platform, then later after. This class will run, then only then is interpret by each existing JVM on every platform.
READ MORE - Needed an interpreter to run. class file compilation, interpreters can be contained in the Web-browser that has been to adopt Java to run Java applet, or can be in the form of interpreter java.exe to run java applications.

JSP (Java Server Page) is a technology to control content or appearance of Web pages through the use of servlets, small programs that run on Web servers.

JSP (Java Server Page) is a technology to control content or appearance of Web pages through the use of servlets, small programs that run on Web servers.

Sun Microsystems, makers of Java, refer to JSP technology as the Servlet API (Application Program Interface).

HTML page that contains links to the Java servlet has the suffix. Jsp.

JSP allows us to combine static HTML with dynamic content generated from the Servlet. JSP technology is also part of the J2EE (Java 2 Enterprise Edition). J2EE is a Java platform for enterprise application development with the support of the API (Application Program Interface) a complete and portability and provides the means to create multi-tier applications that separate the presentation layer, application layer and Data Layer.

JSP Architecture

JSP also idolatry man basically HTML with additional JSP tags into the form of Java Code. JSP files have the extension. Jsp not. Htm or html. JSP engine (Java virtual a machine) the process of parsing the file. Jsp then generate the Java servlet source file. Then compile the source files into class files, this is done in the very first file. Jsp is executed. This makes more slowly when. Jsp file was first accessed, then after the servlet source files compiled everything runs faster.

The following illustrates how the phases of the request to jsp
shown on browser pages.
1. Users run the file. Jsp in the browser, then web browsers that request via the Internet / Intranet.
2. JSP files are sent to Web Server
3. Web Server sends the file. Jsp to the JSP servlet engine
4. If the JSP file for the first time you run the parsing process, if not then immediately executed the step to 7.
5. The next stage is to generate the special servlet from. Jsp file. All the necessary HTML converted to println.
6. Servlet code then compiled into Java classes.
7. Servlet then call the init and service methods
8. HTML from the servlet then sent to via the internet or intranet.
9. Furthermore, the HTML displayed in a web browser. PostgreSQL Database JDBC Request Response

JSP Advantages

JSP is easy to learn and allows developers to make Web Sites and applications quickly. JSP runs on Java which is object-oriented programming so that the JSP is in a strong platform for application development.
The main reason why using JSP:
1. Multi Platform
We may change our operating system without having to change kodekode jsp that has been made for example from Linux to Windows or Unix. Similarly, from IIS to Apache or IBM Websphere.
2. Reusable code by using JavaBeans
3. With JSP means we get all the advantages of Java.

JSP compared to ASP

ASP is a technology developed by Microsoft. JSP Advantages are:

1. Dynamic web part is written in Java, not JavaScript or VBScript or other languages, making it more powerful and better at making applications and components can be recovered (Reusable Code)
2. JSP portable on all operating systems and web servers so that no locks on windows NT and IIS only.
READ MORE - JSP (Java Server Page) is a technology to control content or appearance of Web pages through the use of servlets, small programs that run on Web servers.

Wednesday, September 1, 2010

The Architecture of the Java Virtual Machine

Java Virtual Machine

Java Virtual Machine like its real counter part, executes the program and generate output. To execute any code, JVM utilizes different components.

JVM is divided into several components like the stack, the garbage-collected heap, the registers and the method area. Let us see diagram representation of JVM.

The Stack

Stack in Java virtual machine stores various method arguements as well as the local variables of any method. Stack also keep track of each an every method invocation. This is called Stack Frame. There are three registers thats help in stack manipulation. They are vars, frame, optop. This registers points to different parts of current Stack.

There are three sections in Java stack frame:
Local Variables

The local variables section contains all the local variables being used by the current method invocation. It is pointed to by the vars register.
Execution Environment

The execution environment section is used to maintain the operations of the stack itself. It is pointed to by the frame register.
Operand Stack

The operand stack is used as a work space by bytecode instructions. It is here that the parameters for bytecode instructions are placed, and results of bytecode instructions are found. The top of the operand stack is pointed to by the optop register.
Method Area

This is the area where bytecodes reside. The program counter points to some byte in the method area. It always keep tracks of the current instruction which is being executed (interpreted). After execution of an instruction, the JVM sets the PC to next instruction. Method area is shared among all the threads of a process. Hence if more then one threads are accessing any specific method or any instructions, synchorization is needed. Synchronization in JVM is acheived through Monitors.
Garbage-collected Heap

The Garbage-collected Heap is where the objects in Java programs are stored. Whenever we allocate an object using new operator, the heap comes into picture and memory is allocated from there. Unlike C++, Java does not have free operator to free any previously allocated memory. Java does this automatically using Garbage collection mechanism. Till Java 6.0, mark and sweep algorithm is used as a garbage collection logic. Remember that the local object reference resides on Stack but the actual object resides in Heap only. Also, arrays in Java are objects, hence they also resides in Garbage-collected Heap.

The Architecture of the Java Virtual Machine

In the Java virtual machine specification, the behavior of a virtual machine instance is described in terms of subsystems, memory areas, data types, and instructions. These components describe an abstract inner architecture for the abstract Java virtual machine. The purpose of these components is not so much to dictate an inner architecture for implementations. It is more to provide a way to strictly define the external behavior of implementations. The specification defines the required behavior of any Java virtual machine implementation in terms of these abstract components and their interactions.

Figure 5-1 shows a block diagram of the Java virtual machine that includes the major subsystems and memory areas described in the specification. As mentioned in previous chapters, each Java virtual machine has a class loader subsystem: a mechanism for loading types (classes and interfaces) given fully qualified names. Each Java virtual machine also has an execution engine: a mechanism responsible for executing the instructions contained in the methods of loaded classes.

When a Java virtual machine runs a program, it needs memory to store many things, including bytecodes and other information it extracts from loaded class files, objects the program instantiates, parameters to methods, return values, local variables, and intermediate results of computations. The Java virtual machine organizes the memory it needs to execute a program into several runtime data areas.

Although the same runtime data areas exist in some form in every Java virtual machine implementation, their specification is quite abstract. Many decisions about the structural details of the runtime data areas are left to the designers of individual implementations.

Different implementations of the virtual machine can have very different memory constraints. Some implementations may have a lot of memory in which to work, others may have very little. Some implementations may be able to take advantage of virtual memory, others may not. The abstract nature of the specification of the runtime data areas helps make it easier to implement the Java virtual machine on a wide variety of computers and devices.

Some runtime data areas are shared among all of an application's threads and others are unique to individual threads. Each instance of the Java virtual machine has one method area and one heap. These areas are shared by all threads running inside the virtual machine. When the virtual machine loads a class file, it parses information about a type from the binary data contained in the class file. It places this type information into the method area. As the program runs, the virtual machine places all objects the program instantiates onto the heap. See Figure 5-2 for a graphical depiction of these memory areas.

As each new thread comes into existence, it gets its own pc register (program counter) and Java stack. If the thread is executing a Java method (not a native method), the value of the pc register indicates the next instruction to execute. A thread's Java stack stores the state of Java (not native) method invocations for the thread. The state of a Java method invocation includes its local variables, the parameters with which it was invoked, its return value (if any), and intermediate calculations. The state of native method invocations is stored in an implementation-dependent way in native method stacks, as well as possibly in registers or other implementation-dependent memory areas.

The Java stack is composed of stack frames (or frames). A stack frame contains the state of one Java method invocation. When a thread invokes a method, the Java virtual machine pushes a new frame onto that thread's Java stack. When the method completes, the virtual machine pops and discards the frame for that method.

The Java virtual machine has no registers to hold intermediate data values. The instruction set uses the Java stack for storage of intermediate data values. This approach was taken by Java's designers to keep the Java virtual machine's instruction set compact and to facilitate implementation on architectures with few or irregular general purpose registers. In addition, the stack-based architecture of the Java virtual machine's instruction set facilitates the code optimization work done by just-in-time and dynamic compilers that operate at run-time in some virtual machine implementations.

See Figure 5-3 for a graphical depiction of the memory areas the Java virtual machine creates for each thread. These areas are private to the owning thread. No thread can access the pc register or Java stack of another thread.
READ MORE - The Architecture of the Java Virtual Machine

Java Methods in the Database

Java Methods in the Database

When the database class is created it includes the methods from the original Java class. As a result, SQL commands can include calls to Java methods:

• wherever a value is used - in expressions, select lists, where clauses, etc. (the value of a method call is its return value),
• in the EXECUTE command, as a stored procedure (see Stored Procedures), or
• in the EVALUATE clause of the UPDATE command, to change the state of object columns.

Static method calls can use the form:

[ [ catalog-name . ] schema-name . ] class-name . method-name (...)
class-name must be the database name of a cataloged Java class.
Instance method calls use the form:
( instance-expression ) . method-name (...)

instance-expression is a SQL expression returning an object. It could be:

• a reference to an object column,
• a call to a method returning a database object,
• a NEW clause creating a new database object, or
• the result of a CAST operator casting one of the above expressions to a database class; a ? placeholder can also be cast to a database class.

Note: you can omit the parentheses for a reference to an object column, in most cases.

In the rows of the database table, the value of a column defined with Java class is an instance (object) of the Java class. Instances are created using the constructor for the class. Column values are active instances and their methods are callable in SQL commands. When the client retrieves a column value defined as a Java class, it is an active object that is often executed in the Client's JVM. Both class and instance methods may be accessible.

Stored Procedures in Java

Since the beginning, stored procedure languages have been proprietary to each database vendors, with no commonality. Using more portable languages, like C++, for server procedures has raised issues of safety (an errant procedure could crash the server) and security. Now, with most DB vendors supporting it, Java is becoming the stored procedure language of choice, promising portability and safety.

Stored procedures can be implemented as Java methods. A client application calls a Java stored procedure through JDBC or ODBC using standard syntax. The server translates this syntax into direct calls to user defined Java methods cataloged on the server.

Stored procedures access the database using JDBC and they can return basic values and Java objects. Java objects can include individual JDBC result sets or JDBC statements containing multiple results.
See the FIRSTSQL/J STORED PROCEDURE EXAMPLE at the end of this tutorial

The static methods of a database class are callable as stored procedures:

EXECUTE ? = Money.convert(?, ‘Euro’)

Stored procedures also support output parameters in the form of Java objects. The stored procedure can modify an object passed as a parameter and return the modified object to the caller (the client). The Java object must be derived from a Java class cataloged in the database.

Java servlets are an excellent fit for a Java stored procedure:

• Portability - Java database servlets can be written in pure Java using standard JDBC for database access.
• Safety - Java code is free from pointer misuse and memory leaks. The JVM (Java Virtual Machine) applies the sandbox approach to executing Java code, restricting external access.
• Security - The JVM sandbox mechanism provides secure execution of Java code. The JVM also supports authentication of Java database servlets.

With a portable stored procedure language, code can be transferred between servers and JVMs from different vendors, vendor-specific training is reduced and database-independent applications can be distributed with application-specific stored procedure code.
READ MORE - Java Methods in the Database

Friday, June 18, 2010

example java script in 'plugins' sample length, Mimetype, suffixes, type.

Example java script in 'plugins' sample length, Mimetype, suffixes, type.

READ MORE - example java script in 'plugins' sample length, Mimetype, suffixes, type.

Sunday, February 7, 2010

Clean URL di localhost xamppClean URLs do not work out of the box on XAMPP


Clean URLs do not work out of the box on XAMPP 1.5.x with PHP4 due to a problem in Apache's module load order; mod_rewrite will not work properly. To remedy this you will need to edit the file [path_to_xampp]/apache/conf/httpd.conf.
mod_rewrite location

Remove the # at the beginning of this line:

LoadModule rewrite_module modules/mod_rewrite.so

and move it to just above or below
#LoadModule cache_module modules/mod_cache.so

AllowOverride

If the mod_rewrite change does not work, you also need to check that AllowOverride All is set for the directory Drupal is in. Do this in httpd.conf or extra/httpd-xampp.conf

Open up file \apache\conf\extra\httpd-xampp.conf

Put this code
Alias /drupal "C:/Program Files/xampp/htdocs/drupal/"
   
      AllowOverride All
      Order allow,deny
      Allow from all
   

Remember to change the path to match your installation location.

If you're not sure where to add it, it might be worth putting it under the entry
 Alias /security "C:/Program Files/xampp/security/htdocs/"
   
    ...
    ...
   


Always restart Apache after you make changes or the changes to its configuration files won't have an effect.
Drupal Directory

If Drupal is not installed in the document root, the next thing you'll have to do is modify the file .htaccess that comes with Drupal. Remove the commentsign (#) in front of RewriteBase and, if necessary, modify the path:

RewriteBase /drupal

Finally, in Drupal go to Administer » Site Configuration » Clean URLs (admin/settings/clean-urls) and run the clean URL test. Then click the "Enabled" option for Clean URLs and save the settings.
READ MORE - Clean URL di localhost xamppClean URLs do not work out of the box on XAMPP

Here are the steps in the installation of drupal 6

Blog about drupal tutorial as it is written on the identity arithok blog will soon begin. About CMS drupal itself, has a lot of content or blogs that discuss strengths when compared to other CMS. Flexible and powerful, two words that I often use when people ask about drupal:). Without the wide long-winded, I started with the following article drupal 6 installation. Oh yes, drupal tutorials on this blog will arithok directly discuss the drupal version 6, and chances are, the blog will not discuss arithok drupal previous versions, since the focus is on the development drupal 6 even, drupal 7 also has developed rapidly.
Initial step before the installation of drupal 6 is to make sure your computer is equipped with a localhost. What is localhost, and how to make the localhost, you can see it on this blog under the title Making arithok Localhost with XAMPP Installation. As in these blogs, XAMPP installation location is in the folder c: / xampp /. If the location of your XAMPP installation folder is different, you can adjust itself when placed drupal files.
Here are the steps in the installation of drupal 6.Download the file from drupal.org drupal 

 
Drupal 6 version which can be downloaded in drupal.org when this tutorial was made 6:14 drupal. When you download it on drupal.org, you'll get the files to install drupal form:
drupal-6.14.tar.gz

These files are compressed files tar.gz. form You must open it first. You can use some software, for example you can use 7-zip. To download, please access http://www.7-zip.org/ URL address. Unpack / unzip / decompress the file, and put the folder drupal-6:14 to location c: / xampp / htdocs /
  
 
Rename the folder drupal-6:14

Rename the folder drupal-6:14 a site name that you want, for example, converted into drupalku. Change the name of this folder will affect the site's URL address in the localhost when you will access via a browser. URL address at localhost to http://localhost/drupalku/
 
Create database drupal

The next step before the installation Drupal 6 is a new database to accommodate data of drupal 6 installation. To make it, you can use phpmyadmin which is available when you create a localhost with XAMPP. Open your browser, then access http://localhost/phpmyadmin/. A little additional explanation, there are some inherent database when making the localhost. The names of the default database comes from XAMPP installation you can see on the left like phpmyadmin, mysql and others.

To create a new database, look at the window on the right. There was a small form with writing on it Create New Database. Please enter the name of your database, for example ari_drupalku. The dropdown menu next to his right, let remain as the default setting of Collation. Then click the Create button.
 
If successful, you will be taken to a new database pages that have been so. You can see on the left, ari_drupalku database name already exists, but the numbers in parentheses 0 indicate that there is no database or data tables in it. This database will be automatically filled in data when Drupal 6 installation process is run.
The final step is to prepare the settings.php file to the database and drupal files in XAMPP can be connected. Go back to your windows explorer, then go to the c: \ xampp \ htdocs \ drupalku \ sites \ default \.In this folder you will find a folder named files and a file named default.settings.php. We will create a settings.php file by copying the files default.settings.php. Way, open the file with notepad default.settings.php. Default.settings.php file right click and select open with notepad. Once open, click the File menu, and select Save As. Change the name to save default.settings.php settings.php, and then below it, change the form save as type to All Files. After that press the Save button. Settings.php file is created and automatically placed in the right place, which is located at the default.settings.php.
Edit settings.php
Now we edit it to customize the database name and the name of the site URL address that we will create. As I mentioned in the first sentence, there are two parts that you need to change in this settings.php file.
=>Enter the user name, password and database name
This step aims to file the installation of drupal 6 can connect to the database that you created earlier. To make it easier, we will use the Find facility in this Notepad editor. Put your cursor at the beginning of this text file by clicking on the top left corner before the Find.
  
Enter the word $ db_url = 'mysql: / / username: password @ localhost / databasename'; and press the Find Next button. When you click the Find Next button, you will find the results of the first text. The first text was hoping to let it go, because this text was not to be changed. Text / first script serves as an example, comes from drupal. Click Find Next once again. Once found, close the box Find. This section we will edit. Text / scrupt is located adjacent second (could also above if you use an editor other than Notepad) 
$ db_prefix. Edit this text from

$db_url = 'mysql://username:password@localhost/databasename'; --> $db_url = 'mysql://root:@localhost/ari_drupalku;
Here's a little explanation of what you change:
username -> root (user name for the default database of XAMPP installation is the root.)
password -> (the password for the default database of XAMPP installation is not using a password, emptied it, remember, vacated, no spaces).
databasename -> ari_drupalku (name of the database you created earlier included here.
When finished changed, press the button on your keyboard Ctrl + S to save the changes, or you can do through the menu with the click Notepad File menu> Save.
=>Entering a URL address
 The second part will be changed in settings.php file is a URL address. Way as the first step when the change / enter a user name, password and database above. Put your cursor at the beginning of this text file with the way in the upper left corner or before Find.
Enter the word "# $ base_url = 'http://www.example.com'; / / NO trailing slash!". Once found, close the search results box, and edit the http://www.example.com -> http://localhost/drupalku
Then press the button on your keyboard Ctrl + S to save the changes, or you can do through the menu with the click Notepad File menu> Save.
Done. Files are finished editing settings.php.

 Installing drupal 6 via a browser
Drupal file is ready, the database is ready, it's time to install drupal via a browser. Open your browser and enter the URL address http://localhost/drupalku/install.php
 
Entering the drupal 6 installation process via a browser, the first time you will be faced with the display language options, select only Install Drupal in Bahasa Indonesia.
 
Wait a minute, the database installation process is running.
The next display is the Configure Site
Here is an explanation of each section:

By default, the file permissions will be changed settings.php during the installation of drupal via the browser, it's for security reasons. All necessary changes to. / Sites / default and. / Sites / default / settings.php have been made. They have been set to read-only for security.
The first part that you need to fill the Site Information.
  • Site Name -> insert name of your site in this form, for example Drupalku. Site name will appear in the upper left corner side by side with drupal logo.
  • Site e-mail address -> enter your email address here for site administration purposes.

The next section is the Server Settings
  • The default time zone. This form serves to set the time to be used on the site. I suggest let alone keep the default, because this is automatically adapts to your computer.
  • Clean URLs This section is important enough for the Disabled (Enabled). Clean URLs will make your site URL into a neat and more familiar to humans and search engines. Default drupal when Clean URLs disabled or is not active, the URL will be used on the site will always use? Q =. This is clearly difficult for visitors to remember our URL address, it was for the search engines something undesirable. Select Enabled Clean URLs for this section. Additional information, using XAMPP, you support the use of localhost url is clean.
 
Complete Instalation drupal

In the next display will appear a message that the installation process is completed. (Drupal installation Compete). However, there is a red warning, snippets following:

warning: mail () [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set () in C: \ xampp \ htdocs \ drupalku \ includes \ mail.inc on line 193.
Unable to send e-mail. Please contact the site administrator if the problem persists.

This warning is normal because you've installed drupal in localhost, localhost is not connected to the internet. This warning explains that the email function does not work and resulted in sending an email to an administrator account failed. This does not matter, when your site is online, email function will work well. You can ignore this warning. You can see the writing underneath that provide safe, that Drupal has been successfully installed. Please proceed to your site pages by clicking on the link your new site.
 
Welcome to your new drupal. You automatically are logged in as admin, in accordance with the administrator user name that you entered earlier. The next tutorial I will explain the parts of drupal so you better understand their respective functions.







READ MORE - Here are the steps in the installation of drupal 6
 
THANK YOU FOR VISITING