- In: PTW
- Leave a Comment
FLOCK
Kelebihan: Read the rest of this entry »
Sejarah Web Browser
Posted on: October 19, 2011
- In: PTW
- Leave a Comment
Sejarah Web Browser
Sejarah Web bermula di European Laboratory for Particle Physics (lebihdikenaldengannama CERN), di kota Geneva dekatperbatasanPerancisdan Swiss. CERN merupakansuatuorganisasiyang didirikanoleh 18 negara di Eropa. Read the rest of this entry »
Processing Flow
Posted on: October 19, 2011
- In: PTW
- Leave a Comment
Authentication Response Processing
Keterangan:
– The Server NTP Response message length MUST be 68 bytes. If the message length does not meet this requirement, the authentication fails.
– The client MUST ignore the Key Identifier subfield of the Server NTP Response message (as should any recipient of the Server NTP Response message).
– The client uses the NetrLogonComputeClientDigestto compute crypto-checksums for the first 48 bytes of the Server NTP Response message, with the following input parameters:
- ServerName MUST be set to NULL.
- DomainName MUST be set to the value of the Trusted Domain element.
- Message MUST refer to the first 48 bytes of the Server NTP Response message.
- MessageSize MUST be set to 48.
– The NetrLogonComputeClientDigest method computes two crypto-checksums using the pair of passwords associated with the trusted account.
– The client compares each computed crypto-checksum with the Crypto-Checksum subfield in the Server NTP Response message. If the Crypto-Checksum subfield matches any of the computed crypto-checksums, the authentication succeeds. Otherwise, the authentication fails. A client MUST compare all computed crypto-checksums before determining that the authentication has failed; however, it SHOULD NOT continue to compare crypto-checksums after it has determined that at least one of its computed crypto-checksums matches the Crypto-Checksum subfield.
– If authentication succeeds, the client continues processing the response to synchronize time the same way it occurs in the base NTP protocolIf authentication fails, the response MUST be ignored, and the client MUST NOT perform time synchronization using the response.
KETERANGAN:
– When a client requests authentication, the Client NTP Request message length is 68 bytes. The client sets the Authenticator field of the Client NTP Request ,writing the least significant 31 bits of the value into the least significant 31 bits of the Key Identifier subfield of the authenticator, and then writing the Key Selector value into the most significant bit of the Key Identifier subfield.
– The client SHOULD set the Mode field of the request to Symmetric Active if the client is a time source. The syntax and semantics for the Mode field of the Client NTP Request message Appendix A.
– The client sends the Client NTP Request message to the server as it does in the base Network Time Protocol.
– The following diagram illustrates the client logic for processing a Server NTP Response message received in response to a Client NTP Request message that requested authentication.
Part of Web Browser
Fungsi Web Browser
Posted on: October 19, 2011
- In: PTW
- Leave a Comment
Beberapa hal yang dilakukan web browser (fungsi):
1. Caching Read the rest of this entry »
Posted on: October 5, 2011
- In: PTW
- Leave a Comment
Most common directives
|
Directive |
Parameters |
Description |
Example |
| include | file, direct or virtual | Memungkinkan dokumen dimasukkan ke tempat lain, seperti misalnya: (HTML halaman, file teks, script, dll). Parameter ini mendefinisikan file yang disertakan pada root dokumen.
|
<!–#include virtual=”header.html” –> Apache tutorial on SSI stipulates the format requires a space character before the “–>” that closes the element. |
| include | file or virtual | Termasuk isi dari file yang lain atau hasil dari proses menjalankan script CGI. Jika proses tidak memiliki akses untuk membaca file atau menjalankan script maka akan gagal. “virtual” menentukan target relatif terhadap root domain, sedangkan “file” menentukan path relatif ke direktori dari file ini.
|
<!–#include virtual=”menu.cgi” –> or <!–#include file=”footer.html” –> |
| exec | cgi or cmd | Direktif ini mengeksekusi program, skrip, atau perintah shell pada server. Parameter perintah cmd menentukan server-side parameter CGI untuk menentukan jalur ke CGI script. | <!–#exec cgi=”/cgi-bin/foo.cgi” –> or <!–#exec cmd=”ls -l” –> |
| echo | var | Direktif ini menampilkan isi dari variabel lingkungan HTTP ditentukan. Variabel yang termasuk adalah: HTTP_USER_AGENT, LAST_MODIFIED, dan HTTP_ACCEPT. | <!–#echo var=”REMOTE_ADDR” –> |
| config | timefmt, sizefmt, or errmsg | Direktif ini mengkonfigurasi format tampilan untuk tanggal, waktu, filesize, dan pesan kesalahan (kembali ketika sebuah perintah SSI gagal). | <!–#config timefmt=”%y %m %d” –> or <!–#config sizefmt=”bytes” –> or <!–#config errmsg=”SSI command failed!” –> |
| flastmod or fsize | file or virtual | Petunjuk ini menampilkan tanggal saat dokumen tertentu terakhir diubah, atau ukuran dokumen tertentu. Parameter yang dipakai tergantung pada dokumen yang digunakan. Parameter file yang mendefinisikan dokumen sebagai relatif terhadap jalur dokumen. parameter maya mendefinisikan dokumen sebagai relatif terhadap dokumen root.
|
<!–#flastmod virtual=”index.html” –> or <!–#fsize file=”script.pl” –> |
| printenv | Direktif ini adalah output daftar semua variabel dan nilai-nilai, termasuk variabel lingkungan dan user-defined. Drektif ini tidak memiliki atribut. | <!–#printenv –> |
Control directives
|
Directive |
Parameters |
Description |
Example |
| if | expr | Digunakan untuk mengetes kondisi yang dapat menentukan dan menghasilkan halaman beberapa logical dari satu halaman fisik tunggal. | <!–#if expr=”${Sec_Nav}” –> <!–#include virtual=”” –> <!–#endif –> |
| elif | expr | Melayani tujuan yang sama sebagai pengkondisian lebih lanjut dalam bahasa pemrograman. | <!–#if expr=”${Sec_Nav}” –> <!–#include virtual=”secondary_nav.txt” –> <!–#elif expr=”${Pri_Nav}” –> <!–#include virtual=”primary_nav.txt” –> <!–#endif –> |
| else | Jika tidak ada if dan Elif direktif menangkap suatu kondisi yang terjadi, maka else dijalankan. | <!–#if expr=”${Sec_Nav}” –> <!–#include virtual=”secondary_nav.txt” –> <!–#else –> <!–#include virtual=”article.txt” –> <!–#endif –> |
|
| endif | Termination of a conditional construct. | – | |
| set | var, value | Adalah sebuah Set nilai dari variabel SSI. (Tidak didukung oleh semua implementasi) | <!–#set var=”foo” value=”bar” –> |
Task 2 [XML, AJAX, Java Script]
Posted on: October 5, 2011
- In: PTW
- Leave a Comment
XML
XML (Extensible Markup Language) adalah bahasa markup untuk keperluan umum yang disarankan oleh W3C untuk membuat dokumen markup keperluan pertukaran data antar sistem yang beraneka ragam.
XML merupakan kelanjutan dari HTML (HyperText Markup Language) yang merupakan bahasa standar untuk melacak Internet
- In: PTW
- Leave a Comment
SERVLET
Servlet adalah class Java yang menangani request dari user dan memberikan response.Servlet merupakan class Java yang mengimplement interface Servlet dan menerima request dari class Java, request client atau servlet yang lain.
Task 2 [Web Service]
Posted on: September 20, 2011
- In: PTW
- Leave a Comment
- In: PTW
- Leave a Comment
Struktur dari web selalu tergantung pada tingkat abstraksi dari deskripsi saja. Struktur pada gilirannya memberikan bukti percakapan apa yang sedang berlangsung melalui web. Oleh karena itu pemahaman struktur adalah penting untuk sejumlah aplikasi, seperti navigasi, pencarian, menyediakan sumber daya untuk mendukung komunitas online, atau efek dari perubahan mendadak dalam permintaan informasi.Web adalah demokratis sejauh bahwa tidak ada sentralisasi atau pusat koordinasi yang menghubungkan.
Website dynamic artinya website yang bisa di delete atau di tambah atau di edit ketika website itu dalam keadaan online. Bedanya di Dynamic Web Architecture ada tambahan berupa Server Side Scripting yang berfungsi untuk mengubah halaman web sehingga halaman web tersebut menjadi dinamis.
Task 2 [HTTP]
Posted on: September 9, 2011
- In: PTW
- Leave a Comment
HTTP Request Dan HTTP Response
- HTTP Request merupakan suatu mekanisme pengiriman data dari client pada protokol HTTP yang merepresentasikan aksi yang akan dilakukan pada suatu sumberdaya (server) yang sudah diidentifikasikan sebelumnya. Pihak server yang menerima request akan menjawabnya melalui mekanisme HTTP Response.
- HTTP Request pada dasarnya mendefenisikan 8 metode aksi yang akan dilakukan pada suatu sumber daya yaitu :




