Filed Under ([-] Java) by Junkiest`Jr on 30-06-2008
Masih menggunakan java programing, kali ini kita akan mencoba untuk menerapkan dan memahami komponen dari Pemrograman Orientasi Object [ OOP ]. Class [ baca klees, br rada2 english dikit
] dapat diartikan sekumpulan function yang mempunyai atribut tersendiri dan beranggotakan method-method yang dapat dipanggil kapan saja. [ #:-s huff bingung juga jelasinya ] jadi atribut penyusun dari sebuah class dan method ini didefinisikan dalam bentuk public agar bersifat global sehingga dapat dipanggil di manapun.
Kita contohkan saja langsung dengan program sederhana…[ daripada ngakak kebingungan jelasin :)) ]
Class utama disimpan dengan nama : Class1.java
Source :
public class class1
{
public double panjang;
public double lebar;
public double luas;
public double keliling;
public double luas()
Read the rest of this entry »
Filed Under ([-] Java) by Junkiest`Jr on 30-06-2008
Yup, setelah berhasil memasang Java Virtual Machine pada artikel sebelumnya, maka pada kali ini kita coba membuat sebuah program sederhana dengan menggunakan Java Compiler yang telah terinstall. sebenernya java programing ini kurang efektif dikarenakan kita harus mendeklarasikan class terlebih dahulu, lebih mirip dengan C Programing. but it’s okay, it doesn’t matter.
Langsung saja dengan 2 program sederhana :
- Ganjil dan genap
- bilangan faktorial
Read the rest of this entry »
Filed Under ([-] Java) by Junkiest`Jr on 30-06-2008
Java adalah sebuah bahasa pemrograman yang bersifat universal, artinya di sini adalah bahwa java dapat dijalankan di hampir semua operating system. maka dari itu beberapa programer untuk sekarang ini lebih condong ke arah pemrograman java. selain itu karena keringanan dari java itu sendiri membuat java programing ini dapat di jalankan alat-alat telekomunikasi (Ex. HandPhone, PDA, dll)
Java yang telah terinstal belum bisa di jalankan pada command prompt, maka untuk dapat menjalankan pada command promt kita perlu memasukan variabel compiler java ke dalam environment variabel pada system OS [ klik kanan Mycomputer -> pilih properties -> pilih tab advance -> pilih environment variables
pada box User variables for admin, klik new
isikan :
memasukan compiler java

variable name : Path
variable value : C:\Program Files\Java\jdk1.6.0\bin *( folder dimana java terinstall dan pada folder bin )
Read the rest of this entry »
Filed Under ([-] PHP) by Junkiest`Jr on 30-06-2008
cURL stands for “Client URLs”, and was developed by Daniel Stenberg in 1998 as a command line tool. libcurl is a portable library that provides an easy interface to the cURL functionality. It is thread safe, IPv6 compatible, and supports persistent connections. The libcurl PHP binding was added by Sterling Hughes.
Both cURL and libcurl can transfer files using a wide variety of protocols, including HTTP, HTTPS, FTP, FTPS, GOPHER, LDAP, DICT, TELNET and FILE. The libraries run on practically any *NIX operating system, as well as Windows, OS/2, BeOS, and many more. The cURL libraries are truly open source, with an MIT/X derivative license. This license is very liberal, allowing the use of cURL for whatever you want, commercial or not. You can use libcurl for free, and even include and distribute it with your own application, whether commercial or closedsource. cURL should not to be confused with the Curl Corporation, which is the commercial producer of the client side programming language, Curl.
And now how install CUrl on WAMP webserver.
- Download the Library on http://curl.haxx.se/download.html
- Find for your operating system [ i use Win32 2000/XP ] and download.
- Extract on Wamp Folder [ wamp\bin\apache\apache2.2.8\ ]
- and then find PHP.ini [ \wamp\bin\php\php5.2.6 ] and open it
- find line ;extension=php_curl.dll
- Uncomment that line [ erase the sign ; ] so apache will run that line [ extension=php_curl.dll ]
- Restart your Apache [ ENJOY (o^_^o) ]
is that work ? lol
Read the rest of this entry »