Pemrograman Web: Tugas Pengganti Kuliah – Selasa 5 Maret 2013

Perkuliahan mata kuliah Pemrograman Web untuk kelas SI-A dan SI-B hari Selasa 5 Maret 2013 diberikan tugas pengganti perkuliahan dikarenakan saya selaku dosen pengampu mata kuliah tersebut ada tugas untuk mengajar di Universitas Brawijaya Kediri. Adapun tugas pengganti untuk mata kuliah tersebut hari Selasa 5 Maret 2013 adalah: Carilah sebuah permasalahan dan algoritma yang dapat menyelesaikan permasalahan tersebut (contoh: sort, search, perpangkatan, dll). Daftar pilihannya dapat dilihat di link ini, Continue reading Pemrograman Web: Tugas Pengganti Kuliah – Selasa 5 Maret 2013

Pemrograman Web PTIIK Genap 2012/2013: Introduction To Web Technologies

Berikut ini adalah slide presentasi pada pertemuan II: Introduction to Dynamic Web (Pengenalan pada Website Dinamis) untuk mata kuliah Pemrograman Web semester Genap 2012/2013. Kelas yang diampu adalah kelas: Sistem Informasi A Sistem Informasi B Informatika A Hal-hal yang dibahas dalam pertemuan kedua mata kuliah ini mencakup penjelasan mengenai: definisi website dinamis, berbagai macam teknologi yang digunakan untuk membangun website yang dinamis, kategori dokumen yang dihasilkan dalam web teknologi server-side, client-side, serta Continue reading Pemrograman Web PTIIK Genap 2012/2013: Introduction To Web Technologies

CSS Box Model

HTML elements consists of inline and block elements. All of them are box models even for inline elements such as <em>, <span>, or <strong>. Each box has it’s own (default) border, margin, and padding size. Put the following CSS code to your web pages to see (the box) by yourself temporarily: * { border: 1px solid red !important; } With the above CSS, all elements will have a 1px solid Continue reading CSS Box Model

Pemrograman Web PTIIK Genap 2012/2013: Introduction To Dynamic Web

Berikut ini adalah slide presentasi pada pertemuan II: Introduction to Dynamic Web (Pengenalan pada Website Dinamis) untuk mata kuliah Pemrograman Web semester Genap 2012/2013. Kelas yang diampu adalah kelas: Sistem Informasi A Sistem Informasi B Informatika A Hal-hal yang dibahas dalam pertemuan kedua mata kuliah ini mencakup penjelasan mengenai: definisi website dinamis, berbagai macam teknologi yang digunakan untuk membangun website yang dinamis, kategori dokumen yang dihasilkan dalam web teknologi server-side, client-side, Continue reading Pemrograman Web PTIIK Genap 2012/2013: Introduction To Dynamic Web

Communicating PHP with Android Java using JSON

When you have several variables (data) which you would send to Android using regular text on HTTP, then JSON would become an alternative format to XML. Android has it’s own JSON parser class which able to convert text on JSON format into a JSON Object. Since version 5.2.0, PHP has it’s built in json_encode() and json_decode() function to convert an array into json string and vice versa.

MacOS X: Configure Apache HTTP Server to Support HTTPS

MacOS X 10.8 – Mountain Lion has built in Apache HTTP server as I previously mentioned here. By default, the web server has disabled it’s functionality to handle HTTPS request, it is HTTP over SSL a.k.a Secure HTTP. It is a good idea to test your HTTPS web application on localhost during development. Then enabling HTTPS functionality in Apache web server is a must. The steps to enable HTTPS functionality Continue reading MacOS X: Configure Apache HTTP Server to Support HTTPS

Responsive Web Design

“Responsive Web Design” or RWD or a hashtag #rwd on Twitter has become a great plague in web design just like AJAX technologies which arise a few years ago. Almost all people uses AJAX to run their website. Nowadays, people are talking Responsive Web Design rather than CSS3 media queries technology like people are talking jQuery rather than the AJAX technologies itself. What is Reponsive Web Design? Responsive web design (often Continue reading Responsive Web Design

Sorting Array of Objects Using PHP

Consider you have an array or list of objects and wanted to sort it based on one attribute of objects. If the array consists of integer, it is very easy to sort it ascendingly using sort() function, otherwise if the array consists of objects, you have to create custom sorting function which is passed to the PHP usort() function. Here is an example on how to manually sort array of Continue reading Sorting Array of Objects Using PHP

CSS Starter Snippets

Below is CSS starter to reset CSS properties which are predefined by web browsers. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, Continue reading CSS Starter Snippets

Start Apache HTTP Server Service on Mac OS X Mountain Lion

Apache HTTP Server (httpd) was included out of the box of Mac OS X Mountain Lion (10.8) if you don’t know already. Prior to Mac OS X 10.8 (Mountain Lion) can simply turn on “Web Sharing” to start Apache Web Server service, but from 10.8 onward you’ll need to use command line to start the Apache web server. osxdaily.com mentioned here that we can use apachectl command to start and stop Continue reading Start Apache HTTP Server Service on Mac OS X Mountain Lion