Welcome to my website :)

rss

Wednesday, August 20, 2008

PERL


1.Tentang PERL

PERL adalah bahasa pemrograman yang menggunakan tipe data dinamis, program PERL dapat langsung dieksekusi tanpa harus melalui proses kompilasi tersendiri ke format binary yang dapat dieksekusi.
PERL banyak digunakan pada aplikasi manajemen sistem dan jaringan, pemrograman web,
manipulasi teks, akses ke database.
Berikut ini beberapa aplikasi yang menggunakan PERL yang cukup dikenal: mrtg, SQL
Ledger (aplikasi akunting), Webmin (aplikasi admin), spam assasin (anti spam).

2.Menjalankan Program PERL

2.1.Eksekusi dari file

Berikut ini sebuah program PERL salam.pl, yang mencetak salam universal di konsol, jika ada argumen pada command line maka ditampilkan setelah salam.

#!/usr/local/bin/perl
if ($#ARGV > 1)
{
print "assalamu'alaikum $ARGV[0]\n";
} else {
print "assalamu'alaikum\n";
}

Eksekusi di shell menggunakan PERL interpreter, sbb:

bash% perl salam.pl Hafizh
assalamu'alaikum Hafizh

Agar dapat dieksekusi tanpa mengetikkan interpreter perl di command line, file salam.pl
perlu diset permissionnya. Misalkan dengan perintah :


bash% chmod 755 salam.pl
bash% ./salam.pl Hafizh
assalamu'alaikum Hafizh

Pastikan program PERL diawali dengan path lengkap ke interpreter perl yang terinstal di
sistem operasi anda, untuk sistem berbasis Linux dan Unix, path tersebut harus diawali
dengan karakter '#!' , seperti contoh:

#!/usr/local/bin/perl

2.2.Eksekusi dari command line

PERL dapat mengeksekusi perintah secara langsung dari command line, tanpa perlu membuat
file program, menggunakan options e
di interpreter perl, contoh:

bash% perl e
'print ”Assalamu''alaikum\n”'

Perhatikan dua kutip tunggal di tengah kata, karena kutip tunggal digunakan untuk membatasi
perintah.
Jika menggunakan kutip ganda untuk membatasi perintah :

bash% perl e
“print \”Assalamu'alaikum\n\””

Read More......

Thursday, July 31, 2008

Documentation NOS WorkShop

1 st Workshop Documentation :
======================





Read More......

Monday, July 7, 2008

AJAX (Learning)

=> AJAX BASICS <=

===============

Remember when users called the Internet the "world wide wait?" Way back in the Neolithic era of the Web? With some applications, that aspect of the Web hasn't really changed that much: fill out form, click button, web page goes away, wait, page refreshes, correct mistake, click, wait, wait... You've been stuck in this limbo before.

A number of recent web sites, however, such as many of the cool mapping applications that have evolved of late, require much greater responsiveness in the way they interact with users. The old, conventional way of handling user interaction is to have the entire page "go away" with every click, with the new page reappearing in the browser view only when the server's response is finally complete. However, some new applications require small pieces of the web page to change instantaneously, without the entire page reloading.

For example, if you have ever used Google Maps, the way you can drag outlying regions into your view conveys the impression that you have all of the maps stored locally on your computer, for your effortless manipulation. Imagine how unpopular this application would be if every time you tried to "drag" the map the page disappeared for a few (long) moments while the browser waited for another server response. The application would be so sluggish that no one would use it. So what's the magic that makes this work?

Read More......

Monday, March 3, 2008

Contoh Design Logo

Contoh Design-Design Logo Anak S-1 ILKOMP USU Medan
===========================================

Read More......

Thursday, February 14, 2008

Macromedia Flash

Pengenalan Flash
===============

Sebelum melakukan sesuatu dengan Flash sebaiknya terlebih dahulu dikenal area Flash dan istilah-istilah di dalamnya, karena hal itu nantinya akan sangat membantu dalam bekerja di Flash.

Area Flash terdiri atas enam bagian:

1. Menu

Mengandungi kumpulan instruksi atau perintah-perintah yang digunakan dalam Flash. Menu terletak pada bagian atas area Flash
Misalnya, klik menu File -> Save berfungsi untuk menyimpan dokumen.

2. Stage
Dokumen atau layer yang akan digunakan untuk meletakkan objek-objek dalam Flash. Stage terletak pada bagian tengah area Flash.

3. Toolbox








4. Timeline

Area ini berisi lapisan (layer) dan kerangka (frame) yang berfungsi untuk mengendalikan objek yang akan dianimasikan. Timeline terletak di bawah menu.

5. Panels

Bagian ini mengandungi kendali fungsi yang dipakai dalam Flash, yang berfungsi untuk mengganti dan mengubahsuai berbagai atribut dari objek atau animasi secara cepat dan mudah. Panels biasanya terletak di bagian kanan area Flash, Untuk menampilkan panel tertentu, klik menu Window -> (Nama Panel).

6. Properties

Bagian ini berfungsi sama dengan Panels, hanya saja Properties merupakan penggabungan atau penyederhanaan dari panel, jadi dapat lebih mempercepat dalam mengganti dan mengubahsuai berbagai atribut daripada objek, animasi, kerangka, dan komponen secara langsung. Properties biasanya terletak di bagian bawah area Flash.

Read More......

Thursday, January 3, 2008

FLash

About Flash

Flash is an authoring tool that designers and developers use to create presentations, applications, and other content that enables user interaction, Flash projects can include simple animations, video content, complex presentations, applications, and everything in between. In general, individual pieces of content made with Flash are called applications, even though they might only be a basic animation, You can make media-rich Flash applications by including pictures, sound, video, and special effects, Flash is extremely well suited to creating content for delivery over the Internet because its files are very small,Flash achieves this through its extensive use of vector graphics, Vector graphics require significantly less memory and storage space than bitmap graphics because they are represented by mathematical formulas instead of large data sets, Bitmap graphics are larger because each individual pixel in the image requires a separate piece of data to represent it, To build an application in Flash, you create graphics with the Flash drawing tools and import additional media elements into your Flash document, You define how and when you want to use each of those elements to create the application you have in mind , When you author content in Flash, you work in a Flash document file,Flash documents have the file extension “fla” (FLA). A Flash document has four main parts:

The Stage is where your graphics, videos, buttons, and so on appear during playback. The Stage is described further in Flash Basics .

The Timeline is where you tell Flash when you want the graphics and other elements of your project to appear,You also use the Timeline to specify the layering order of graphics on the Stage, Graphics in higher layers appear on top of graphics in lower layers.

The Library panel is where Flash displays a list of the media elements in your Flash document.

ActionScript code allows you to add interactivity to the media elements in your document. For example, you can add code that causes a button to display a new image when the user clicks it, You can also use ActionScript to add logic to your applications, Logic enables your application to behave in different ways depending on the user's actions or other conditions,Flash includes two versions of ActionScript, each suited to an author's specific needs, For more information about writing ActionScript, see Learning ActionScript 2.0 in Flash in the Help panel.

Flash includes many features that make it powerful but easy to use, such as prebuilt drag-and-drop user interface components, built-in behaviors that let you easily add ActionScript to your document, and special effects that you can add to media objects, When you have finished authoring your Flash document, you publish it using the File > Publish command. This creates a compressed version of your file with the extension .swf (SWF). You can then use Flash Player to play the SWF file in a web browser or as a stand-alone application.

Read More......

Adobe Bridge

About Adobe Bridge


Adobe Bridge is the control center for Adobe Creative Suite,You use it to organize, browse, and locate the assets you need to create content for print, the web, and mobile devices. Adobe Bridge keeps native PSD, AI, INDD, and Adobe PDF files as well as other Adobe and non-Adobe application files available for easy access.You can drag assets into your layouts as needed, preview them, and even add metadata to them,Bridge is available independently, as well as from within Adobe Photoshop, Adobe Illustrator, Adobe InDesign, and Adobe GoLive, File browsing From Bridge you can view, search, sort, manage, and process image files,You can use Bridge to create new folders; rename, move, and delete files; edit metadata; rotate images; and run batch commands,You can also view information about files and data imported from your digital camera,Version Cue If you have Adobe Creative Suite, you can use Bridge as a central location from which to use Adobe Version Cue. From Bridge, you can browse all the files in a project in one place without having to start the native application for each file, including non-Adobe application files. Also, you can create new Version Cue projects, delete projects, create versions, save alternates, and set access privileges in Bridge. See Working with Version Cue in Bridge, Bridge Center If you have Adobe Creative Suite, Adobe Bridge includes Bridge Center, the “dashboard” of Adobe Creative Suite, where you can view news readers in your web browser, see your most recent activity, read about tips and tricks for using Adobe products, save groups of files, and more. Adobe Creative Suite users can also use Bridge to specify color management settings and access scripts that help automate your workflow, Camera Raw If you have Adobe Photoshop installed, you can open and edit camera raw files from Bridge and save them in a Photoshop-compatible format. You can edit the image settings directly in the Camera Raw dialog box without starting Photoshop. If you don’t have Photoshop installed, you can still preview the camera raw files in Bridge, Stock Photos Click Adobe Stock Photos from the Favorites pane in Bridge to search leading stock libraries for royalty-free images,You can download low-resolution, complementary versions of the images and try them out in your projects before purchasing them, Color management You can use Bridge to synchronize color settings across applications.

Read More......