‘ Web Programming ’ Category

Xaraya CMS

0 Comment » 0 Komentar // Post Oct 13, 2008 // Web Programming

Xaraya is an extensible, Open Source web application framework written in PHP and licensed under the GNU General Public License. Xaraya delivers the requisite infrastructure and tools to create custom web applications that include fully dynamic multi-platform Content Management Solutions (CMS).

Xaraya’s modular, database independent architecture introduces tools that separate form, function, content, and design with on-the-fly extensions allowing greater control and versatility.

Read More » Selengkapnya »

AJAX, What is?

1 Comment » 1 Komentar // Post Oct 06, 2008 // Artikel, Web Programming

Ajax, shorthand for “Asynchronous JavaScript and XML”, is a web development technique for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user requests a change. This is intended to increase the web page’s interactivity, speed, and usability.
The Ajax technique uses a combination of:

  • XHTML (or HTML) and CSS, for marking up and styling information.
  • The DOM accessed with a client-side scripting language, especially ECMAScript implementations such as JavaScript and JScript, to dynamically display and interact with the information presented.
  • The XMLHttpRequest object is used to exchange data asynchronously with the web server. In some Ajax frameworks and in certain situations, an IFrame object is used instead of the XMLHttpRequest object to exchange data with the web server, and in other implementations, dynamically added
  • XML is sometimes used as the format for transferring data between the server and client, although any format will work, including preformatted HTML, plain text, JSON and even EBML. These files may be created dynamically by some form of server-side scripting.

Read More » Selengkapnya »

Curhat Textpattern, PHP, dan CMS

1 Comment » 1 Komentar // Post Oct 06, 2008 // Artikel, Web Programming

Hampir semua kode dalam CMS (Content Management System) yang menggunakan bahasa PHP akan diawali dengan tag Dalam banyak kasus, kesalahan penulisan kode atau tag php, entah itu karena tidak ada penutup tag, kurang tanda titik dua ( ; ) , dan tidak terbatas pada kesalahan penulisan nama fungsi, akan membuat masalah besar pada desain dan tampilan yang digunakan oleh CMS.

PHP, yang merupakan bahasa pemrograman berbasiskan atau dijalankan di server ( Server Side Programing ) cukuip rentan akan masalah pemanfaat celah keamanan. Untuk itu di sebagian besar CMS yang mempergunakan bahasa PHP murni sebagai template tag akan meng break operasi jika ditemukan kesalahan atau error.

Read More » Selengkapnya »

Menanggulangi 404 Error

3 Comment » Komentar // Post Aug 04, 2008 // Tutorial, Web Programming

Error 404 adalah kode error yang otomatis muncul ketika halaman / konten tidak ditemukan. Bagi sebagian netter, ketika sudah menemui kode error 404 maka biasanya mereka berasumsi bahwa kontent yang dicari sudah tidak ada. Nah, bagaimana jika ternyata konten tersebut hanya berpindah alamat / ur l? tentunya kerugian bagi pemilik website dan netter tersebut.
Si pemilik website kehilangan trafik dari kontentnya, si netter kecewa karena merasa kontent yang dicari tidak ditemukan. Ada beberapa cara untuk meminimalisir si netter agar memiliki harapan bahwa kontent yang dicari masih ada. Di satu sisi cara ini juga akan membantu pemilik website agar tidak kehilangan trafik dari time to stay pengunjung.
Memodifikasi redirect dari error 404 adalah salah satu cara yang cukup efektif guna meminimalisir kerugian tadi. Berikut ini adalah beberapa cara untuk melakukan redirect dari halaman error 404. Read More » Selengkapnya »

About PHP

0 Comment » 0 Komentar // Post Aug 01, 2008 // Web Programming

Do you ussualy used PHP in your web scripting project before? But do you know the history about PHP? What PHP for and how to optimized PHP in your web application? Here’s a little bit something about PHP you could find out. PHP is the engine behind millions of dynamic web applications. Its broad feature set, approachable syntax, and support for different operating systems and web servers have made it an ideal language for both rapid web development and the methodical construction of complex systems.
One of the major reasons for PHP’s success as a web scripting language is its origins as a tool to process HTML forms and create web pages. This makes PHP very web-friendly. Additionally, it is a polyglot. PHP can speak to a multitude of databases, and it knows numerous Internet protocols. PHP also makes it simple to parse browser data and make HTTP requests. This webspecific focus carries over to the recipes and examples in the PHP Cookbook written by David Sklar and Adam Trachtenberg.
PHP, in source-code and binary forms, is available for download for free from http://www.php.net/. The PHP web site also contains installation instructions, comprehensive documentation, and pointers to online resources, user groups, mailing lists, and other PHP resources.
Strings in PHP are a sequence of characters, such as “We hold these truths to be self evident,” or “Once upon a time,” or even “111211211.” When you read data from a file or output it to a web browser, your data is represented as strings. Individual characters in strings can be referenced with array subscript style notation, as in C.