Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Learn Programming Web and JAVA


Learn Programming Web and JAVA - Programming - Java Programming - HTML programming - There are many kinds of programming in the world of computers or technology for example Java programs and the Web, as well as many others. But here we will discuss about the two programming, web and java. We will learn web programming and java.



Learning Web Programming-WWW

If defined, the web is a computer network consisting of various sites that offer text and offers a chart also illustrates a voice over internet protocol hypertext such a course www.searchpicture.com/find-223344-web.php.
Web is also famous for its world wide web or abbreviated as WWW. WWW is a service of the internet's most popular among the other because the Internet is also widely used when the arrival of the WWW service. Well, this goes to the WWW protocol HTTP or HyperText Transfer Protocol.

The web page contains an HTML syntax that can be translated through the internet browser. HTML is able to create a variety of content ranging from graphics, text, animation and video that can be seen when using the internet to look for an update.

Web now becomes a standard interface of all the services available on the internet. Almost a whole using www. The advantages of web applications more than the desktop application that makes web adopted by the company and serve as the information technology strategy.

Some of the reasons why choosing to learn web programming with the www, this is the reason. The first is due to the easy access to information, and server setup is also easy, also because this information is easily distributed, and the latter because free platform so that information can be presented by a browser with a variety of operating systems are different.

Web Programming - HTTP

Hyper Text Transfer Protocol, or HTTP is a protocol used for transferring various documents contained in the world wide web. For the development of HTTP was coordinated by the World Wide Web Consortium (W3C) and the Internet Engineering Task Force (IETF) working in a series which they describe HTTP RFC are now commonly used, namely HTTP / 1.1.

HTTP has a duty to ask and answer the relationship between the client and the server. Typically, a client of HTTP as a web browser will initiate a request by dealing with IP headed to a specific port. Then, the server from the HTTP port that will listen and wait for the client to send a request code. Then after some code then processes the request received and the server determines whether the request was successful or answer or other errors.

Well, that's the way the work of web programming so that we can get a variety of requests we are on the internet, be it data, video, pictures or anything else.

Programming Web 1.0 and Web 2.0

Apart from the name of the web 1.0 and 2.0 has some significant differences, here's the difference:
  • Read write user behavior.
  • The main perpetrators of corporate users and their communities.
  • Relationship with the client-server server peer to peer.
  • Programming languages ​​HTML and XML content viewer.
  • The pattern of relationships with publishers and users in the direction of two-way interactive.
  • Content management taxonomy or directory also from folksonomies or marker.
  • Serving a variety of channels of information portal RSS or syndication.
  • Relationships between accessor.
  • Content sources publisher or owner of the site users. 

Web 1.0 is the first generation of the web and is the latest revolution of the Internet world because of the presence of Web 1.0 has changed the workings of the industry and the media.

Web 2.0 is the second generation of the web by bringing forward a collaboration by sharing information online. Or may be referred to as the business revolution in the computer world since the use of the Internet is used as a platform.

Well, this is an attempt to know and understand how the rules in order to know how to achieve success on that new platform. Some Web 2.0-based services these include social networks, flickr, and wiki.

For web 3.0 is still debate among researchers and analysts. Web 3.0 is claimed to have the potential to become the next generation technology for the web version of this definition can be accessed Broadbrand mean as mobile and web services on demand.

That was the difference between the web version 1.0, version 2.0 and version 3.0 web. Now we will turn to the language of web programs.

This is a web programming language you need to know:

HTML is a markup language that is used in the manufacture of a web page. Web browser using HTML example is Mozilla Firefox and Microsoft Internet Explorer. PHP or Personal Home Page widely used in a dynamic website. Most PHP on a Linux operating system.

ASP or Active Server Pages is a web programming language to create a dynamic web pages. ASP is working on the web server. XML or Extensible Markup Language is a W3C recommended markup used for the description of a variety of data.

WML or Wireless Markup Language or languages ​​used in an XML-based applications. WML is the language used wireless program.

PERL is a Unix operating system for the machine as well as to the operating system, DOS, BeOS, Windows, VMS, PocketPC and EBCDIB. CFM created using ColdFusion and Adobe ColdFusion software. Javascript is a scripting language that runs reliably for the client.

CSS or Cascading Style Sheets is a stylesheet language used in the display settings document written in a markup language. CSS is specifically regulated by the W3C or World Wide Web Consortium.

Java programming

Java is a programming language that can be used by a computer or by mobile phone. Java-based applications are generally compiled into p-code and can run with the java virtual machine. Java adlah its general or non-specific. The functionality of the Java makes this application can run several different operating system platforms.

In accordance with the slogan "Write once, run anywhere". Now become a java programming language the most popular and widely used for the development of various software.

Advantages and Disadvantages of Java

First, Multiplatform. This is the major advantage of Java is that it can be run in multiple platforms or computer operating system in accordance with the slogan that has been discussed earlier.

Then, OOP or Object Oriented Programming. Java has a complete library or library. Libraries in question here is a collection of progeam included in Java. It would be easy to make use of the programmers. Completeness of the library is getting big again with the Java community.

There is also no lack of definite advantages here are some deficiencies possessed by Java. Although there are several platforms that demonstrate the advantages of Java, but there is also lack of owned Java slogan "Write once, run anywhere". But there are some things that time is not yet compatible or relevant to one platform with one platform to another. For instance for the J2SE platform SWT-AWT bridge that will not work with Mac OS X.

Another shortcoming is easy to didekompilasi. Decompilation is reversing a ready-made code into the source code. That may be possible because the code is so Java bytecode that stores the language with a high level. This happens also in the Microsoft NET Platform. So it would be easy to program pirated because the program is difficult to hide.

Then, the other due to lack of memory Java uses a lot, larger than the high-level language in a generation before there was Java. However, this problem does not apply to all technologies. Only people who use computer technology or machinery that has been aged longer or more than four years experience this problem. However, not the case with people who use the latest version of the technology.

Thanks for reading our article.
thousand-tips.blogspot.com

Google Unveils Dart, an alternative to Javascript

dart-logo
Google today launched an "early preview" of Dart, a programming language the company hopes will help Web application programmers overcome shortcomings of JavaScript that Google itself feels acutely.

Programmer and project leader Lars Bak detailed the project in a talk today at the Goto conference conference today in Denmark and in a blog post. Dart is geared for everything from small, unstructured projects to large, complicated efforts--Gmail and Google Docs, for example.

"If we want to focus on making the Web better over time, we have to innovate," including with new programming languages, Bak said in an interview today.

Google also unveiled a Dart language site including open-source tools for writing Dart programs, code samples and tutorials, supporting libraries of supporting software, the Dart language specification, and forums for discussion.

Google is a big company, though, and others within the company remain strong JavaScript adherents. And Bak, while not denying Google has big ambitions, was quick to proclaim JavaScript alive and well.

"It's not going to replace JavaScript," Bak said. "JavaScript is is a cornerstone of the Web today, and it will continue to be for a long, long time."
Bak bristled at some of complaints about Google's approach to creating Dart in-house and not through a more collaborative approach.

"I don't buy the argument that before writing any line of code or designing any features, you put it in a standards committee, because that would just be a lot of screaming," Bak said. "You have to have coherent design before you start adopting Dart as a standard."
Making a standard is a goal, though. "It will be fairly lonely to create a standards committee when here's only us in it. We first have to get the backing of other partners before we can make a standard that's useful," he said.

Google is releasing Dart now for the next step in its maturation: outside feedback and participation. "We hope the other browser vendors will be excited," Bak said, adding that today is the first that Google has shared details about Dart with them or others.

Google is evaluating the best way to integrate Dart directly into its Chrome browser, something Bak is keen on. One reason: it will enable a "snapshotting" technology that dramatically improves a Web app's start-up time. Snapshotting involves taking an application and "serializing" it into a single block of data.

In one test of snapshotting, a 55,000-line Dart program loaded in 60 milliseconds compared to 640 milliseconds without it, Bak said. A conventional JavaScript program would load in comparable time as Dart without snapshotting, he said. "I can see a lot of optimizations that 'll be applicable to Dart" when it's integrated directly into a browser, he added.

Here's Bak's quick description of Dart:

Dart's design goals are:

• Create a structured yet flexible language for Web programming.

• Make Dart feel familiar and natural to programmers and thus easy to learn.

• Ensure that Dart delivers high performance on all modern Web browsers and environments ranging from small handheld devices to server-side execution.

Dart targets a wide range of development scenarios: from a one-person project without much structure to a large-scale project needing formal types in the code to state programmer intent. To support this wide range of projects, Dart has optional types; this means you can start coding without types and add them later as needed. We believe Dart will be great for writing large web applications.
Dart programs will be able to run within a Dart virtual machine--essentially a layer of software that acts as a computer to execute programs. They'll also be able to run using a compiler that translates Dart code into JavaScript code for browsers that don't support Dart, Bak said.

Google's Chrome browser has served as a vehicle to get the company's technology such as WebM and SPDY useful for at least a portion of Web users. Though the 2010 Dart/Dash memo said Google planned build Dart support into Chrome, Bak was cautious about making any definite statements beyond saying browser integration brings benefits. It's notable, though, that Bak led development of Chrome's V8 JavaScript engine, so he's hardly a stranger to the Chrome team or to the challenges of improving Web-app speed.

Building Dart into Chrome could let Google build Dart versions of its advanced Web apps that--if the language lives up to its billing--could be better than those Web apps today.

"Google has a lot fairly big Web applications. That includes Gmail and Docs. I hope many of these apps will be converted into Dart," Bak said--but cautioned that was his personal option, not an explicit plan.
Introducing new programming languages is tough. Though many hope that computing can improve by reforming or replacing languages, the incumbent power of existing languages is strong. Educating thousands or millions of programmers, building developer tools, and creating supporting libraries of code all can take years. As newer languages such as Java, JavaScript, and C# attest, though, it is possible.

Google also is trying to gain a foothold for Go, a programming language geared more for native software that today would most likely be written with C or C++.

Dart is designed to address several shortcomings Google sees with Web programming today, according to the Dart technical overview:

• Small scripts often evolve into large web applications with no apparent structure--they're hard to debug and difficult to maintain. In addition, these monolithic apps can't be split up so that different teams can work on them independently. It's difficult to be productive when a Web application gets large.

• Scripting languages are popular because their lightweight nature makes it easy to write code quickly. Generally, the contracts with other parts of an application are conveyed in comments rather than in the language structure itself. As a result, it's difficult for someone other than the author to read and maintain a particular piece of code.

• With existing languages, the developer is forced to make a choice between static and dynamic languages. Traditional static languages require heavyweight toolchains and a coding style that can feel inflexible and overly constrained.

• Developers have not been able to create homogeneous systems that encompass both client and server, except for a few cases such as Node.js and Google Web Toolkit (GWT).

• Different languages and formats entail context switches that are cumbersome and add complexity to the coding process.
The priority right now is to hear what the rest of the world thinks and to get them participating in Dart's development, Bak said.

"At this point it is mostly the language we are focused on," he said. "We hope to get positive feedback on the language."