Web Programming
HTML5 is held out as a new web programming language which will bring about many changes. http://www.pcworld.com/businesscenter/blogs/bizfeed/165653/html5_could_be_the_os_killer.html These include native video support which would compete with Adobe Flash’s player. http://www.pcworld.com/article/196699/microsoft_gambles_on_html5_h264_video_for_ie9.html http://www.pcworld.com/article/191030/how_to_ditch_flash_and_stream_video_with_html5.html Other supposed features will include offline storage and the ability to run web applications. http://www.pcworld.com/article/188834/geek_101_html5_css3_and_you.html
updated 2010-08-17 12:00:02
comments: 0
JavaScript Statements
One type of statement is the conditional. It uses the if else syntax form. This type of statement helps to create a non-linear flow in a script.http://www.tizag.com/javascriptT/javascriptelseif.php For example, if a user answers a question correctly, he goes to a Web page that says "congratulations". If he answers the question wrong, he is sent to a page that says "sorry". This logic would be written like a conditional statement.
A loop statement runs code repeatedly until it reaches a certain condition.http://www.tizag.com/javascriptT/javascriptfor.php For instance, a programmer may have the script cycle through a gallery of images until it reaches the last image. Once it reaches the last image, the condition is met, and the loop stops. Loops begin with the word for.http://www.tizag.com/javascriptT/javascriptfor.php
Exception handling statements capture errors in scripts.http://www.tizag.com/javascriptT/javascriptstatements.php They can use the syntax try catch.http://www.tizag.com/javascriptT/javascriptstatements.php Object manipulation statements are used with JavaScript objects.http://www.tizag.com/javascriptT/javascriptstatements.php Also, comment statements let a user block out code he wants the browser to ignore. The syntax can be double slashes for a single line.http://www.tizag.com/javascriptT/javascriptstatements.php Blocks of code are commented out with a slash and asterisk symbol on each side of the block.http://www.tizag.com/javascriptT/javascriptstatements.php
updated 2010-11-08 05:56:27
comments: 0
How To Learn To Program In Cocoa
The most hands on method of learning to program in Cocoa is to take classes on the subject. Classes and lessons are taught both online and in learning centers. Online classes are the easiest to take as they don't require you to leave your home but some people may find it easier to learn in a classroom with a teacher who can work with them one on one.
About Objects, Inc. offers online classes in Cocoa and iPhone Development. Their Cocoa courses take five days to complete and cover such topics as “Object-Oriented Design”, “The Runtime System”, Windows and Panels”, and “Interface Builder”. Check out their official website for available courses. If none are currently available you can contact them to request a class.http://www.aboutobjects.com/training/cocoa/cocoa_programming_workshop.html
Many colleges and learning centers also offer Cocoa programming courses, be they independent classes or classes tied in to a computer programming major. Contact your local colleges to see what types of courses the may have available for you. Some colleges and learning centers offer both normal classes and online courses. Online courses combine the convenience of websites with the hands on learning experience of a classroom. For some this is the best option.
updated 2010-07-17 09:01:36
comments: 0
PHP Programming
A variable in PHP must begin with a dollar sign and is case sensitive. http://www.tizag.com/phpT/variable.php Variables, which are information storage containers, can either have a global or local scope. A local variable can not be accessed outside its current location within a function. However, a global function can be used anywhere in the entire script. Variable names must contain alphanumerics or underscores. http://www.tizag.com/phpT/variable.php Also, they can not have a number as the first character. http://www.tizag.com/phpT/variable.php
Functions are small parts of the code that perform a certain task. If a programmer has a certain task that he needs to repeat within a script, he can save time by writing the code in a function. Then, the function can be called wherever it is needed in the script. Functions follow the same naming conventions as variables.http://www.tizag.com/phpT/phpfunctions.php Beyond user-defined functions, PHP has numerous built-in functions, such as echo, which outputs whatever text it is given by the programmer.http://www.tizag.com/phpT/phpfunctions.php
updated 2010-10-03 08:19:52
comments: 0
Computer Programming
Computer programming languages are used to write the code that a computer uses to implement the instructions that it has been given. To do this, the instructions must be written using specific requirements. There are a variety of languages, each created to conform to different platforms. http://www.landofcode.com/programming-intro/computer-programming-languages.php
- Computer programming languages that are used for web page design include HTML, Java or PHP. These languages are used to design web pages, online gaming and other interactive programs that are Internet based.
- For software programs, the common languages used are C++, Java and Visual Basic. These are programs that do not require an Internet connection to use, and can range from simple programs for productivity, games or entire operating systems.
updated 2010-08-23 11:44:59
comments: 0
LSL Scripting
Most scripts involve the interaction of objects and avatars within the confines of the Second Life servers. However, LSL does have several functions that allow a scripter to connect an SL object with servers outside of Second Life. These built-in functions fall into two categories: XML-RPC (remote procedure calling) and HTTP (hyper text transfer protocol). XML-RPC uses XML and HTTP to transmit data between servers.http://lslwiki.net/lslwiki/wakka.php?wakka=XMLRPC The HTTP LSL functions use standard HTTP methods, such as GET and POST, to transfer and process data through the Internet with outside programming languages like PHP.http://lslwiki.net/lslwiki/wakka.php?wakka=HTTP
updated 2010-10-03 08:19:35
comments: 0
Programming in MySQL
The commands below can be used with the mysql_query() PHP function.http://www.php.net/manual/en/function.mysql-query.php The capitalization of the commands does matter when using them in a program. All statements in PHP end with a semicolon.
DELETE: Deletes the specified rows
- Structure: DELETE FROM table name WHERE conditions;http://dev.mysql.com/doc/refman/5.0/en/delete.html
INSERT: Adds a row of data to a table
- Structure: INSERT INTO table name (column names) VALUES (value names);http://dev.mysql.com/doc/refman/5.0/en/insert.html
UPDATE: Alters a row that has already been created
- Structure: UPDATE table name SET column name=value, column name2=value2... WHERE conditions;http://dev.mysql.com/doc/refman/5.0/en/update.html
SELECT: Selects data from the table based on the expression in the query
- Structure: SELECT column names FROM table name;http://dev.mysql.com/doc/refman/5.0/en/select.html