Saturday, April 30, 2011

BASIC XML

| Saturday, April 30, 2011 | 0 comments

What is XML? I don't know smile

  • XML stands for EXtensible Markup Language
  • XML is a markup language much like HTML
  • XML was designed to carry data, not to display data
  • XML tags are not predefined. You must define your own tags
  • XML is designed to be self-descriptive
  • XML is a W3C Recommendation

The Difference Between XML and HTML

XML is not a replacement for HTML.
XML and HTML were designed with different goals:

XML was designed to transport and store data, with focus on what data is.
HTML was designed to display data, with focus on how data looks.

HTML is about displaying information, while XML is about carrying information.

XML Does not DO Anything

Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store, and transport information.

The following example is a note to Tove from Jani, stored as XML:

<note>


<to>Tove</to>


<from>Jani</from>


<heading>Reminder</heading>


<body>Don't forget me this weekend!</body>


</note>






The note above is quite self descriptive. It has sender and receiver information, it also has a heading and a message body.



But still, this XML document does not DO anything. It is just pure information wrapped in tags. Someone must write a piece of software to send, receive or display it.



Readmore..

Friday, April 29, 2011

laying JavaScript

| Friday, April 29, 2011 | 0 comments

Where to Put the JavaScript

JavaScripts in a page will be executed immediately while the page loads into the browser. This is not always what we want. Sometimes we want to execute a script when a page loads, other times when a user triggers an event.

Scripts in the head section: Scripts to be executed when they are called, or when an event is triggered, go in the head section. When you place a script in the head section, you will ensure that the script is loaded before anyone uses it.

Where to Put the JavaScript

Scripts in the body section: Scripts to be executed when the page loads go in the body section. When you place a script in the body section it generates the content of the page.

Readmore..

Structures Condition and Repetition section

| | 0 comments

hey hey, You can implement this in php, and other programming languages​​,. The following is basic to know the loop

1. Structure Condition
Branching control structures (decision making) that control the structure function
to conduct elections for the command to be executed in accordance with certain conditions.
There are four branching orders in PHP, that is if, if .. else, if .. elseif, and switch.

Thinking smile Structure Condition If

stucture condition If
if (condition) {
statement-if-condition-true;
}

Description:
condition is a statement or a variable that should be checked TRUE or FALSE.

Winking smile Structure Condition If ... Else
If ... else command is used to select a statement based on a
condition. This command will execute a particular statement if the condition is true and will
run another statement if the condition is false. Syntax is
as follows:

if (condition) {
statement-if-condition-true;
} else {
statement-if-conditio -false;
}

Description:
condition of a statement or a variable that should be checked his TRUE or FALSE. If
the condition is TRUE, the statement in the if block will be executed, otherwise if
the condition is FALSE, the statement in the else block will be executed.

Readmore..

Thursday, April 21, 2011

Register On Vs Global Register Global Off

| Thursday, April 21, 2011 | 2 comments

At the beginning of its development, by default the global registers in the set of On the
tujuang to give the user ease in learning PHP, so that  users can take / call variable simply by mentioning the name  variables, no matter whether the variable comes from GET, POST, COOKIE,  or SESSION. An example script follows:
Scripts "globalon.php"

   1:  <? Php 


   2:  echo "<form method=GET action=globalon.php> 


   3:  Enter your name: <input type=text name='nama'> 


   4:  <input type=submit name=oke value=kirim> </ form> "; 


   5:  if ($ ok == 'send') { 


   6:  echo "Your name is: <b> $ name </ b>"; 


   7:  } 


   8:  ?>




Readmore..

Flow Learning Java

| | 0 comments


Java  Be right back is an interesting technology but spacious. He can be used for develop solutions for mobile devices that run on enterprise servers. The extent of Java often confuses beginner in learning Java. Not infrequently caught up in the direction that is not maximum, for example control of open software source, such as Struts, Turbine, or Hybernate rather than understand Java itself.
Or stuck to treat the JSP as a scripting language, like culture in PHP. Where do you begin to walk, where you must step on the way your odyssey as a Java developer, preferably tailored to your objectives. Do you want to develop applications for mobile phones, or to run on the enterprise server? This requires a different Java technology for be explored.
Java Platform
Java as a platform for software development, broadly divided into 3
referrals:
J2SE
J2EE
J2ME
J2SE

 

Readmore..

Wednesday, April 20, 2011

Data Type & Constant

| Wednesday, April 20, 2011 | 0 comments

Data Type 
In PHP, the variable data type is not defined by the programmer, but
automatically determined by the PHP interpreter. However, PHP supports 8
(Eight) pieces of primitive data types, namely:
1. boolean
2. integer
3. float
4. string
5. array
6. object
7. resource
8. NULL


Readmore..

Tuesday, April 19, 2011

Variable

| Tuesday, April 19, 2011 | 0 comments

In every programming language we will certainly encounter the concept of variable.Variable is a place in memory to store data whose value can be changed during program run.In PHP, every variable always begins with the sign '$' and followed by the name of the variable, regardless of whether the data is integer, real or string, PHP will automatically convert the data according to type. Variable names can be any combination of letters of the alphabet and numbers with a maximum length of 32 characters. But unlike in most other programming languages ​​that require us to declare variables in advance, variables in PHP do not have to be declared before the variable is used. Varabel represented by certain words with the rules of writing as follows:

Readmore..

Friday, April 15, 2011

Visual Basic ??????????

| Friday, April 15, 2011 | 2 comments

Visual Basic is one of object-oriented programming languages ​​(Object Oriented Programming / OOP) is very easy to use and learn. Visual Basic is produced by Microsoft Corporation which also produces the Windows operating system with windows kompetibelitas So good level.
Visual Basic compiler file applications will have:
1. Project Files (*. vbp) Punch
Project file is a file from the application that we build itself. In this project file usually consists of several other files.
2. The file interface / form (*. frm)Rolling on the floor laughing
This file is the file that stores information about the form in an application form. In a regular project file consists of more than one form.
Design Time and Runtime
In visual programming, there are two times that show what we can do at that moment in our application.
1. Design TimeGreen with envy
Design Time is the time when we are designing / building our application. Determining the shape of interface, type the program code, and all the activities of design / development do we do when the design-time.
2. Run TimeWho me?
We run or execution results of the design we have done is the Runtime. At this time we can not alter the program code.

 

Technorati Tags: ,,,,,,,,,,,,,,,,,
Windows Live Tags: Visual,Basic,languages,Object,Microsoft,Corporation,Windows,system,Project,Files,interface,information,Design,Time,Runtime,moment,development,execution
WordPress Tags: Visual,Basic,languages,Object,Microsoft,Corporation,Windows,system,Project,Files,interface,information,Design,Time,Runtime,moment,development,execution
Blogger Labels: Visual,Basic,languages,Object,Microsoft,Corporation,Windows,system,Project,Files,interface,information,Design,Time,Runtime,moment,development,execution

Readmore..

Come to Know PHP

| | 0 comments

Did you know that PHP Surprised smile
1. Is a recursive acronym of P HP: Hypertext Prepocessor.
2. First created by Rasmus Lerdorf in 1994.
3. Must be written in between the tags:

a. Style XLM
<?php
echo ”Style XML”
?>
b. Short Style
<?
Echo”ShortStyle”;
?>

c. Style SCRIPT
<script language =’php’>
echo ”Style JavaScript”;
</script>

d. Style ASP
<%
echo ”Style ASP”
%>

Readmore..

PHP Basic Structure

| | 0 comments

PHP Definition Winking smile

According to official documents of PHP, PHP stands for PHP Hypertext Preprocessor. It is a form of language scripts that are placed in the server and processed on the server. The results are sent to the client, where the user uses browser. PHP is a server-side scripting language that integrates with HTML for create dynamic web pages. The purpose of the server-side scripting is the syntax and the commands that we give will be entirely run on the server but included in regular HTML documents. PHP is free to use. You do not have to pay anything for Using this software, aka free. You can download it via the site http://www.php.net. PHP is available in the form of binary code or source code complete.

PHP Style Open-mouthed smile

PHP gives us flexibility when writing programs, with notes still refers to the conditions set. Please note that by the time PHP parse the file, the tag will be read to meet the special tags which tell for menerjemahkanya as PHP code. If the tag is found, then parser to execute the program code until the end on the closing tag. This also applies to the PHP code is embedded in HTML documents, which the parser will find the tags to be found. The rest are outside the tags will be considered not a PHP code, so the parser is also no need to process it. There are four ways to write a tag that identifies the PHP program.

Readmore..

Introduction to Web Server and Server Side Scripting

| | 0 comments

1.1 Web Server Open-mouthed smile
Web Server is a server software that functions in received a request (request) in the form of web pages via HTTP or HTTPS from clients, known as a web browser and sent back (response) results in the form of web pages are generally in the form of an HTML document.

Some of the widely used Web Server on the Internet, among others:
1. Apache Web Server (http://www.apache.org)
2. Internet Information Services, IIS (http://www.microsoft.com/iis)
3. Xitami Web Server (http://www.xitami.com)
4. Sun Java System Web Server (Http://www.sun.com/software/products/web_srvr/home_web_srvr.xml)
1.2 Server Side Scripting Open-mouthed smile
Server Side Scripting is a scripting or programming technology web in which the script (program) is compiled or translated on the server. With server side scripting, enabling it to generate dynamic web pages.
Some examples of Server Side Scripting (Programming):
1. ASP (Active Server Pages) and ASP.NET
2. ColdFusion (http://www.macromedia.com/software/coldfusion)
3. Java Server Pages (http://java.sun.com/products/jsp/)
4. Perl (http://www.perl.org)
5. Phyton (http://www.python.org)
6. PHP (http://www.php.net)
Advanced Web Programming
PHP Privileges
1. Fast
2. Free
3. Easy to learn
4. Multi-platform
5. Support technical-support
6. Many of the PHP community
7. Safe
1.3 Installing Apache, PHP and MySQL with XAMPP Open-mouthed smile
The process of installing Apache, PHP and MySQL is often a constraint, especially
for beginners just learning web programming with PHP. This caused
because the software must be installed and configured one by one. For those not yet
understand correctly, would often have difficulty, especially for us who study
independent.
But do not be discouraged, many available applications packages
The third brings together the software (Apache, PHP and MySQL) into a single installer.
The installation can be done easily and quickly, just next, next,
and finish.
Some application packages include:
1. XAMPP (Windows version) and lampp (Linux version) which can be downloaded at
http://apachefriends.org.
2. WAMP Server.
3. AppServ.
4. PHPTriad.

 

Technorati Tags: ,,

Readmore..

Wednesday, April 13, 2011

Creating applications in visual basic text preview

| Wednesday, April 13, 2011 | 2 comments


Creating applications in visual basic text preview
 
the steps are
1. open microsoft visual basic yours
2. create a form like this
 
3. criteria
Object
Property
Nilai
Label1
Name
Label1
Caption
Enter phrase below
Text1
Name
Text1
text
(Delete)
Command1
Name
Command1
Caption
Preview
Label2
Alignment
center
 Background
&H00FFFFFF&
Command2
Caption
exit

Description of program: When the event button is clicked the contents Label2property will take the contents of Text1 property

3. Log into Code View, the following contents of the program.

Private Sub Command1_Click ()
Label2.Caption = Text1.Text
End Sub

To exit button
Private Sub Command2_Click ()
End
End Sub

4. run the program and completed

Programming is easy



thank you for visiting my blog

Readmore..

VARIABLE, VAL and constants in visual basic

| | 0 comments

VARIABLE, VAL and constants

VARIABLE

The variable is a place in memory that is named (as an identifier) and allocated to accommodate the data.
Syntax: As Type Dim name of the variable data
Example: Dim a As Integer
Dim name As String

Readmore..

Creating program summing Without Variable declaration - visual basic

| | 0 comments

 Creating program summing Without Variable declaration


First we make like this

Readmore..

Creating a program with a variable sum - visual basic

| | 0 comments

Creating a program with a variable sum

First we make like this




 

Readmore..

Make Application stopwatch WITH VISUAL BASIC

| | 2 comments

Make Application stopwatch
stopwatch is a handheld timepiece designed to measure the amount of time elapsed from a particular time when activated to when the piece is deactivated. A large digital version of a stopwatch designed for viewing at a distance, as in a sports stadium, is called a stopclock.


Readmore..

Friday, April 8, 2011

make lowercase letters to uppercase with php

| Friday, April 8, 2011 | 2 comments

make lowercase letters to uppercase with php
how to make a lowercase to uppercase in php? yes, here is the solution. type in textformat as below using notepad or dreamweafer. then save with name lowup.php
The following how to make it:
lowup

Readmore..

Thursday, April 7, 2011

make the application change images using visual basic

| Thursday, April 7, 2011 | 3 comments

change picture with button and text
and we are learn load picture
make change picture
apple to orange to haha
the steps are
1. open microsoft visual basic yours
2. create a form like this




Readmore..

Monday, April 4, 2011

calculate the volume of the tube with visual basic

| Monday, April 4, 2011 | 2 comments

Set His estate:
Object
Property
Nilai
Form
Name
Form1
Caption
Program penghitung volume tabung
Label1
Name
lbljari
Caption
JARI-JARI LINGKARAN
Label2
Name
lbltinggi
Caption
TINGGI TABUNG
Label3
Name
lblluas
Caption
LUAS ALAS=phi*jari-jari*jari-jari
Label4
Name
Lblvolume
Caption
VOLUME=luas alas*tinggi
Label5
Name
Lbljudul
Caption
PRGRAM PENGHITUNG VOLUME TABUNG
Text1
Name
Txtjari
Text
Kosongkan/delete
Text2
Name
Txttinggi
Text
Kosongkan/delete
Text3
Name
Txtuas
Text
Kosongkan/delete
Text4
Name
Txtvolume
Text
Kosongkan/delete
Command1
Name
cmdproses
Caption
PROSES
Command2
Name
cmdreset
Caption
RESET
Command2
Name
cmdkeluar
Caption
KELUAR

Readmore..

Popular Posts

 

Total Pageviews

stat

© Copyright 2010. http://programminghaha.blogspot.com . All rights reserved | http://programminghaha.blogspot.com is proudly powered by Blogger.com | Template by o-om.com - zoomtemplate.com