Sunday, 9 June 2013

Like the other standard documents HTML5 also has a certain structure. Broadly speaking, the only HTML5 document structure of two parts, the head and body. But of course there are some other details that need attention as well.
Section begins with the day <head> head and closed with your partner, the </ head>. The body is flanked by <body> and </ body>. The head and back of the body has html tag and </ html> will be included. And do not forget, in the beginning there must be an HTML document declaration shall be as follows:
<! DOCTYPE html>
So complete HTML5 document structure look like Listing 1 Listing 1 is not intended to be run in a browser, it just shows HTML5 document structure alone.
Head of Section
HTML5 header is used to store a variety of information about the content of the document. At least the head should contain the title of the document. The title of this document is flanked by <title> and </ title> and will be displayed in the title bar of the browser.
Besides the title of the document can contain the following header:
• Metadata: contains a variety of additional data on HTML5 documents such as the author's name / author, date of publication, descriptions of document content, keywords, etc.. This information is expressed by tag <meta> alone, without closing </ meta>.
• Base URL: Specify the base location for the links that exist in the document. This information is <base> of day expressed alone, without closing </ base>.
• Link: you give a link to another Dokuman closely with HTML5 documents, such as CSS scripts used in web page design. This information is expressed by tag <link> alone, without closing tag </ link>.
• Object: contains information about objects that can exist in HTML5 document. Objects that can be contained in the document, including HTML5 video, audio and Flash animations. This information is expressed by <object> flanked by tag and </ object>.
• Script: contains information about the programming scripts, which may exist in HTML5 document. This script programming usually like client-side JavaScript. This information is expressed flanked by <script> by tag and </ script>.
• Style: contains information about the web page design in CSS written directly to the head, not in a separate document. If you want to be written on a separate document, use the link below. This information is expressed flanked by <style> by tag and </ style>.
The information presented in this top section are discussed along with the deepening of the discussion on this HTML5. Although this is more common only <title> alone.
Body parts
HTML5 body part is a part, will be decoded and displayed by the browser. In this section, a variety of day, that design HTML document. So you can imagine, there must be a lot of HTML tags that can be used in this section. Therefore PCplus gradually discuss the simplest first.
The first is a paragraph. A well-structured document must consist of a few paragraphs. <p> Separate from one paragraph to another paragraph tag used. This tag must end with a partner who </ p> is closed.
To simply the line without changing the paragraph, use <br> day. Since that day does not have a partner then written with <br />. Replace the line on HTML5 documents need to be marked, because even if the HTML code but do not replace the line of the browser is displayed on a separate line.
Provided some tags to give a certain display format of the text below: • <b> and </ b> to make the text appear in bold font. • <i> and </ i> to display text in italics. • <u> and </ u> to text displayed on the bottom line. • <font> and </ font>, the type of writing itself to determine. • <img /> to display the image. • <hr /> horizontal lines are displayed.
Well, it was enough for this issue. Now it is time to science, which was given to the form of the HTML5 document practice. Make HTML5 document shown in Listing 2 and save it with the name of the structure. html. When the browser is opened, the result is as shown in Figure 1.
t6-431-html-gb-01
HTML5 document in writing what the position of the variables is very remarkable not to overlap opening and closing tags. Here is a real example:
<b> <i> text </ i> </ b>
This is an example:
<b> <i> text </ b> </ i>
If you want to create an HTML document with structure, which is divided into chapter headings, section, subsection, and so on up to a depth of six levels, you can use the day to use <h6> <h1> (and their respective connected tags) to write the chapter headings. The letter h in the day stands for header.
An example is given in Listing 3 named header. html and the results are shown in Figure 2. Note that each level has a different header font size.
t6-431-html-gb-02
Listing 1 <! DOCTYPE html> <html> <head> The contents of the head ...... </ Head> <body> Content of the body ...... </ Body> </ Html>
Listing 2 <! DOCTYPE html> <html> <head> <title> HTML5 Document Structure </ title> </ Head> <body> I was <h1> HTML5 document </ h1> <p> This is the first paragraph in this document. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla adipiscing, lectus a vulputate ultricies, nisl aliquam nisi Mauris et convallis id libero ligula mi. </ P> <hr /> <p> This is the second paragraph. <br /> <b> It seems thick. </ B> <br /> <i> It seems wrong. </ I> <br /> <u> It underlined. </ U> <br /> It's the end of the second paragraph. </ P> </ Body>
Listing 3 <! DOCTYPE html> <html> <head> <title> HTML5 Document Structure </ title> </ Head> <body> <h1> Chapter Title </ h1> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla adipiscing, lectus a vulputate ultricies, nisl aliquam nisi Mauris et convallis id libero ligula mi. </ P> <br /> <h2> section title </ h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla adipiscing, lectus a vulputate ultricies, nisl aliquam nisi Mauris et convallis id libero ligula mi. </ P> <br /> <h3> Sub-Section Title </ h3> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla adipiscing, lectus a vulputate ultricies, nisl aliquam nisi Mauris et convallis id libero ligula mi. </ P> </ Body> </ Html>

Posted on 15:00 by Unknown

No comments

Saturday, 8 June 2013

Maybe some of us are still confused about ini.Apa PhoneGap PhoneGap is and what real benefits of this is the lack of PhoneGap ini.Berikut I'm going to share with my friends a little explanation of what is considered PhoneGap hell All Friends as a material in selecting the method to develop an application for Android.

As this review when I've analyzed using PhoneGap in the company where I did my analysis are used to my little bekerja.Jadi.
PhoneGap: a solution for a mobile application that is both multi-platform using HTML, JavaScript and CSS to build.
PhoneGap JavaScript API being used.JavaScript API examples:

    
JQTouch (jqtouch.com)
    
NO (joapp.com)
    
Sencha (sencha.com)
    
JQuery Mobile (jquerymobile.com)
    
ZEPTO (zeptojs.com)
Advantage:

    
Multi-platform: iOS, Blackberry, Android, WebOS, Symbian, Windows Phone and Samsung Bada
    
Use only HTML, JavaScript and CSS, we must not, in the sense that you learn Java (Android) Objective C (iOS), C # for Windows Phone, etc..
    
It is open source, the module will be developed from existing shingga many developers.
Loss:

    
Reverse Engineering The number of applications that can be used for JavaScript code that allows for the editing of the original code.
    
The existence of some phone features that are not supported by PhoneGap.
    
The following description of the features supported and not supported by PhoneGap:

    
The mobile
    
For multi-platform PhoneGap often overlooked when there is a new feature on the original platform.
    
Existing screen looks the same on all platforms, and sometimes do not seem to display such as a mobile app.
    
Many restrictions when they synchronized with iOS platform.
    
Although the result in the application of a "build once, run anywhere" applications, which is not optimal, since the original application made by native SDK.
    
The reason for this is because the application must PhoneGap javascript code menginterpret be acceptable to the native SDK, so it takes more time to run.
The following factors comparison between native mobile application with a web app:

    
User interface
    
Development
    
Skill
    
Monetization
    
Type of delivery
    
Versioning app
    
Strengths
    
Weaknesses
User interface


Issues to be considered in the selection:

    
It is a mobile application that we build requires some special features such as accelerometer devices, cameras, etc.?
    
If the application will have to be built features of mobile devices, it is advisable to many local apps.Hal is to use multiple functions in mobile web applications that do not support.

    
The budget available?
    
If the available budget may be less and applications that we want to get up to run multi-platform, it is advisable to use apps.Hal The mobile web mobile web app, in accordance with the principles of "building a once, run anywhere "

    
It is an application that requires an Internet connection built?
    
If the application is not necessary to set up an internet connection then it is always recommended to use native apps.Hal is because the mobile web apps, we membtuhkan internet connection to be able to run it.

    
It is an application that will be built specifically to create a platform or multiple platforms?
    
If the application to be built dkhususkan only one platform, it is advisable to use native apps. This is because native apps, apps built better performance than mobile Web applications that require multiple processes to run the application.

    
Any programming language that we already know?
    
If we are to build knowledge about the objective C iOS app is missing. NET to build Windows Phone and Android apps for Java, it is advisable to only use PhoneGap HTML, JavaScript and CSS can use.
So my little analysis about PhoneGap and native.Dapat conclusion that any method that we use in the development of mobile devices and kekurangan.Oleh definitely has advantages because it expects all friends of the appropriate methods to meet the needs of developing mobile applications will.

Posted on 14:56 by Unknown

No comments

Friday, 7 June 2013

PhoneGap is a framework for creating framework / open-source cross-platform mobile apps with HTML, CSS and JavaScript. PhoneGap to be an ideal solution for web developers who are interested in submitting an application on your smartphone.
PhoneGap is also an ideal solution for those who are interested in creating an application that can run the same code base on multiple smartphones. It 's very simple, with only 1 encoding time, you may applications for smartphones iPhone, Android, BlackBerry, Symbian and Palm. You do not need separate coding would be, for example, to create applications for the iPhone, I do coding for the iPhone, I do Android applications, I have to do the coding Android and so on. So, with this PhoneGap you save time in applying for a smartphone with a good programmer and a developer / web can even mobile applications, not just Java programmers and others. Well, it could be called a cross-platform, as it can create PhoneGap application on a smartphone with a single encoding. Interesting is not it?How can I get the application to work in PhoneGap?
In other words, enough with the programming language HTML + CSS + JavaScript deactivated you can make an application for smartphones. Before you like to make this the first track when it has finished its appearance and its processes, in-build with PhoneGap then you want the partner application for smartphones. To test it, you can use the emulator from any Android SDK and iPhone SDK to use his or symbol smile PhoneGap be tested directly on your smartphone: How Smartphone Apps Easily createCome, learn about PhoneGap
Applications built with PhoneGap in a mobile website in general. Results PhoneGap applications can use the existing hardware in the mobile devices, such as accelerometers or GPS, do not interact as a normal web application. PhoneGap applications are also prepared and packaged as a native application, roomates means that application developers can deploy applications through the Apple App Store or Android Market.
Now, the mobile platform is a PhoneGap supports a number of different, namely:

    
iPhone
    
Android
    
BlackBerry
    
Symbian
    
Palm
For the future of PhoneGap is a mobile platform is supported:

    
Windows Mobile
    
MeeGo
    
Bada
PhoneGap SDK provides an API roomates is an abstract layer that developers already have access to the functions and specifications of the hardware platform. PhoneGap explained that the same code can be used on a wide range of mobile platforms with little or no code changes, roomates makes the application for the general public can be used.
Hardware features are supported by the API PhoneGap, such as:

    
Geolocation
    
Accelerometers
    
Camera
    
Compass
    
Contact
    
File
    
Media
    
Network
    
Notification (Alert)
    
Notification (audio)
    
Notification (vibration)
    
Warehousing
What are the requirements if you want to create a mobile application with PhoneGap?
If you want to create a mobile app with PhoneGap, you must first set the default SDK for mobile platforms to set objectives for your application. Since the cell uses PhoneGap SDK when you build your application on the target platform. So if you want to make android apps, Android SDK his first and so on icon smile PhoneGap: How easy is it to create applications for smartphones
If you want to ask a question on Android, you must:

    
Android SDK
    
ADT plugin for Eclipse
    
Eclipse
    
PhoneGap
To learn more about how to make Android apps with PhoneGap in Eclipse, at this link.
If you want to do iphnoe application, you must:

    
Intel-based Apple computers
    
iPhone SDK
    
Xcode
    
Mac OS X Snow Leopard
To learn more about how to make iPhone apps + setingannya here.
After downloading PhoneGap and extract it, you will see a separate folder for a particular mobile platform. Display images below does not always depend on the same version of PhoneGap are.

Posted on 14:55 by Unknown

No comments

Thursday, 6 June 2013

Many developer maybe asking, what is PhoneGap?

well PhoneGap is a free and open source framework to be launch, to build native installable applications accross a range of different devices and platforms. And also launch and build applications using existing knowledge of HTML, CSS, and JavaScript. Also use javascritp to access PhoneGap API, to access devices and platform, for example : camera, accelerometer, file storage, and more.

And what are the disadvantages of PhoneGap? well, this not code use PHP and use mySQL database, so can't access the data directly like PHP.
And this is diagram of PhoneGap :
The workings of PhoneGap is by using technology HTML, CSS and Javascript. After that, all the code is already so built using PhoneGap Build. And so beberaoa beberaa installer application for smartphones such as Android, iOS, Windows Phone, Blackberry, Symbian, and Palm.

PhoneGap SDK provides an API that is an abstract layer that developers already have access to hardware and platform specific features. Cordova said that the same code on a number of mobile platforms with little or no code changes, which can be used for our application makes the broader public use.

Phonegap could possibly be the answer to these challenges. Phonegap is a technology developed by Nitobi, a community project developers who are familiar with IBM, RIM and Microsoft. Phonegap is a library that bridges the process / native languages ​​(java, c obj, symbian) from the language used by phonegap. HTML5 javascript.

Yeah right. you can develop native applications using HTML5 and javascript.

Without much more words. let's try to create a simple application with Phonegap. The example below is a native android app with phonegap. to another OS you can adjust the following links http://phonegap.com/start
 

Posted on 11:03 by Unknown

No comments