28 May, 2013

Introduction to CSS

Posted by bloggermoklet On 10:49 AM No comments

A CSS (cascading style sheet) file allows you to separate your web sites (X)HTML content from it's style. As always you use your (X)HTML file to arrange the content, but all of the presentation (fonts, colors, background, borders, text formatting, link effects & so on...) are accomplished within a CSS. At this point you have some choices of how to use the CSS, either internally or externally.


Internal Stylesheet

First we will explore the internal method. This way you are simply placing the CSS code within the <head></head> tags of each (X)HTML file you want to style with the CSS. The format for this is shown in the example below.


<*head>
<*title><*/title>
<*style type="text/css">
CSS Content Goes Here
<*/style>
<*/head>
<*body>

RAM, or Random Access Memory, refers to the amount of‘working memory’ that your computer has. More specifically, RAM is the feature of a computer that allows programs to run. The more
RAM that a computer has, the faster programs will run. Having more RAM also allows the user to run more programs concurrently. For this reason newer computers, with more RAM, are able to process more programs at the same time. In order to keep your computer working as fast as possible, limit the number
of programs which are open at any one time. Present computers usually have 512 or 1024 MB of RAM.
ROM, or Read Only Memory, refers to the storage space that a computer can hold. Just like a glass which can contain only so much water, a computer can only hold so many programs and files. For this reason ROM has been likened to ‘long-term memory’.

26 May, 2013

Introduction Java Script

Posted by bloggermoklet On 6:05 PM No comments

JavaScript is a loosely-designed, cross-platform scripting language, meaning it does not have a complicated syntax structure to learn, and is supported by most operating systems. It is the most widely used language for creating dynamic Web contents. Because JavaScript is a cross-platform scripting language, JavaScript games require no plug-ins.
JavaScript is a scripting language that does not require compilation. Source files will stay as text files all the time, and are interpreted by most Web browsers that have a builtin JavaScript interpreter.
JavaScript has good compatibility with HTML, DHTML, and CSS (Cascade Style Sheets) to allow more flexibility to create web games. JavaScript can be hand coded using a generic text editor, such as Notepad, that comes with operating systems for free. The cost of software of teaching and learning JavaScript is nearly zero.
A JavaScript game code, as part of an HTML file, can be uploaded to no-cost web hosting sites like Geocities.com. Students will learn key concepts by completing hands-on coding activities, and can immediately publish their JavaScript games to the World Wide Web. Consequently they enjoy a strong sense of achievement.

Android Development

Posted by bloggermoklet On 5:39 PM No comments



       All begin at July 2000, where Google cooperate with Android Inc. , most famous internet factory at Palo Alto, California USA. Why they did that ? Because some Android Inc. Founder work at Google, some like Andy Rubin, Rich Miner, Nick Sean, and Chris White.


       At that time Android get many trifled as Operating System on Mobile Phone. Because that time have Many Mobile Operatin System, like Symbian and Commercial belonging some factory. But after several time, Android Suddenly Develope so fast and become Phenomenal.

XML Programming Using DOM

Posted by bloggermoklet On 3:20 PM No comments

The accidental complexity of working with the DOM is so high that many programmers are giving
up on using XML altogether, cursing the hype that XML makes dealing with data simple, which no one who
has actually written DOM code could claim. The W3C DOM was not designed with ease of programming in
mind, but rather evolved as a design by committee from the existing DHTML object model originally created by Netscape.

Consider the following simple purchase order document
<div style="border:5px dashed #00FF00;
background-color:#FF0000;
padding: 7px; width:
auto;">
<purchaseOrder orderDate="2013-05-26">
<shipTo country="Indonesia">
<name>Andre Firman</name>
<street>Danau Ranau Street</street>
<city>Malang</city>
<state>East Java</state>
<zip>65148</zip>
</shipTo>
<billTo country="Indonesia">
...
</billTo>
<items>
<item partNum="872-AA">
<productName>Spark Board</productName>
<quantity>1</quantity>
<price>Rp.142.000</price>
</item>
...
</items>
</purchaseOrder>
</div>

The DOM implementation as surfaced in the .NET frameworks as the System.Xml.XmlDocument API is
extremely imperative, irregular, and complex. Nodes are not first class citizens and have to be created and
exist in the context of a given document. To construct this document using the DOM, we must first create a new document as a root for all other nodes we will create. Then we find that creating and inserting child
nodes requires two imperative steps. One to create a new child element or attribute, and a second to then
insert the just created node into the parent.

<div style="border:5px dashed #00FF00;
background-color:#FF0000;
padding: 7px; width:
auto;">
Dim PO As New XmlDocument
Dim purchaseOrder As XmlElement = _
PO.CreateElement("purchaseOrder")
PO.AppendChild(purchaseOrder)

Dim orderDate XmlAttribute = _
PO.CreateAttribute("orderDate")
orderDate.Value = "1999-10-20"
purchaseOrder.Attributes.Append(orderDate)

Dim shipTo As XmlElement = _
PO.CreateElement("shipTo")
purchaseOrder.AppendChild(shipTo)

Dim country As XmlAttribute = _
PO.CreateAttribute("country")
country.Value = "US"
shipTo.Attributes.Append(country)
...
</div>
This is unfortunate for readability, debuggability, and maintainability, because now there is no helpful relationship between the structure of the code we write and the structure of the XML we need to create.
The access patterns for attributes and elements are gratuitously different, and the handling of namespaces is confusing at best. Finally even pretty-printing an XML document takes several lines of arcane and complex
code since the .ToString() method is not properly overridden.

Site search

    Visitors

    Flag Counter

    Flag Counter

    Followers