Website YPPI - Education ICT in Surabaya
Download soft Jaringan
Download Buku LINUX
Download buku VIRUS
Donwload buku Programing
Download buku seputar jaringan
Download Ost Catatan Akhir Sekolah
Download Lagu Mandarin Full House
About Me
- information technology education
- I'm the man coming from the heroic city of surabaya and of full dedication to the world of education and information Technology in YPPI. I'm still willing to develop and empower my skill & knowedgle so as to step advanced for the nation's future
Blog Theacher SMA YPPI 1
-
ROBOT UNESA BERTANDING DI AMERIKA - Surabaya (beritajatim.com) - Satu lagi kebanggaan yang akan ditunjukan oleh putra-putri terbaik bangsa. Universitas Negeri Surabaya (Unesa) yang dikena...14 tahun yang lalu
-
Mengenali dan membasmi virus koplaz - Virus "K0pL4xZ" yang terdeteksi sebagai VBWorm.QTT mengincar pengguna komputer, khususnya yang memiliki banyak file Office, dengan cara mengganti icon dan ...15 tahun yang lalu
-
MATA PEMIMPIN - ada mata inderawi, ada mata budi, dan ada mata jiwa. Apakah persamaan yang dimiliki oleh tokoh-tokoh sekaliber Sir Winston Churchill, Soekarno, Mohammad Hat...15 tahun yang lalu
-
Resep Masakan Enak Sehari Hari - *Resep Masakan Enak Sehari Hari* http://digestivehealing.com/__media__/js/netsoltrademark.php?d=https://www.dapur-mbu.me/ http://educateboys.com/__media__...2 tahun yang lalu
-
-
gerak air laut - *Gerak Air Laut* Ada 3 gerakan air laut yang akan kita bahas yaitu: arus laut, gelombang laut, dan pasang surut air laut. 1. *Arus Laut* Arus laut (*se...15 tahun yang lalu
-
KEMANDIRIAN DALAM ENTREPRENEUR - Entrepreneurship menjadi kunci keberhasilan sebuah bangsa, meski demikian kondisi bangsa Indonesia belum cukup memiliki entrepreneur yang memadai. Sekol...8 tahun yang lalu
-
Anda Dibentuk untuk Keluarga Allah - Persekutuan berarti terikat satu dng yg lain seperti kita terikat dengan Tuhan.Allah mengharapkan agar kita memberikan hidup kita satu kpd yg lain. Seperti...15 tahun yang lalu
-
sel hewan dan tumbuhan - *A. Sel (Pendahuluan)* Gbr. Penampang Sel Hewan dan Sel Tumbuhan *Sahabat Amoeba ( Anak muda Biologi **) …,* tahukah kalian bahwa tubuh kita tersusun...15 tahun yang lalu
-
-
ABSTRAKSI PROPOSAL PTK 2007/2008 - PROPOSAL PROGRAM HIBAH PENINGKATAN MUTU PEMBELAJARAN UNIVERSITAS KATOLIK WIDYA MANDALA 2007/2008 PENGGUNAAN METODE PEMBELAJARAN KOOPERATIF MODEL STUDENT TE...15 tahun yang lalu
-
-
-
Mandikan aku Bunda.......... - Cerita ini sangat cocok sebagai bahan renungan bagi kita semua, terutama yang sehari-hari sangat disibukkan dengan aktivitas kerja dan profesi lainnya. Sem...15 tahun yang lalu
-
SEJARAH RENANG - Sejarah Olahraga dan Tehnik - tehnik Olahraga Tehik renang Teknik Rencana utama: Keupayaan berenang Tubuh manusia terdiri sebahagian besarnya daripada air ...9 tahun yang lalu
-
-
-
Honesty - Di jaman sekarang masih adakah orang jujur diketemukan?Mengapa begitu sulitnya menemukan orang jujur di muka bumi ini?Virus apakah yang telah menjangkiti a...14 tahun yang lalu
-
Tenzin Gyatso Zitate / 14TH DALAI LAMA tenzin gyatso INSPIRATIONAL QUOTE POSTER 24X36 kindness | eBay - Para las emociones destructivas, tenemos que ser conscientes de lo que da lugar a ellas y cuáles son los antídotos ~ tenzin gyatso, 14º dalai lama. Tenz...1 tahun yang lalu
-
-
8 kebohongan ibu yang positif - 8 KEBOHONGAN IBU Cerita bermula ketika aku masih kecil, aku terlahir sebagai seorang anak laki-laki di sebuah keluarga yang miskin. Bahkan untuk makan saja...15 tahun yang lalu
-
-
Ciri Orang Cerdas - Bagaimana menurut anda ciri – ciri orang Cerdas ? Apakah dia seorang dengan pendidikan Formal yang tinggi, ataukah Orang tersebut mempunyai pengalaman yang...15 tahun yang lalu
-
OPINI - MENCIPTAKAN SEKOLAH SEBAGAI ZONA NYAMAN BAGI SISWA Bagi siswa, suasana belajar di sekolah sangatlah tidak nyaman, beda dengan dunia luarnya yang dipenuhi d...15 tahun yang lalu
-
-
Pembelajaran Interaktif - *Pembelajaran Interaktif Merupakan Suatu Kebutuhan* *Theresia Henywati – Kepala SMA YPPI - I* Memasuki era global , pada tahun pelajaran 2008 / 2009 SMA ...15 tahun yang lalu
-
Penalaran dalam Membuat Kesimpulan - PENALARAN DALAM MEMBUAT KESIMPULAN Proses berpikr manusia untuk menghubungkan hubungan data atau fakta yang ada sehingga sampai pada suatu kesimpulan diseb...15 tahun yang lalu
-
-
Internet And Business Online – The Act Of Interdependence - The best role of business online is that of interdependency. We’ve all heard the old saying, “No man is an island.” When it comes to online business this i...15 tahun yang lalu
-
DEBET KREDIT - Persamaan akuntansi terdiri dari sisi kiri dan sisi kanan yang dinamakan sisi kanan adalah DEBET dan sisi kiri adalah KREDIT .Setiap sisi Debet dan Kred...15 tahun yang lalu
-
Document Article
Web Programming with Continuations
1 The Big Idea
Scheme supports first-class continuations, which can be resumed an arbitrary
number of times. These continuations can be used to make HTTP behave
like a stateful protocol, and can even eliminate the need for session time-outs.
Although continuation-based approaches toWeb programming looks promising,
several important issues related to the use of continuations still need to
be addressed before these techniques will gain commercial acceptance.
2 The Problem
Since HTTP is a stateless protocol, Web applications themselves must maintain
conversational state with each client. The usual approach is to break the
application into a number of small pieces (JSP’s, Java Servlets, CGI scripts,
etc.), each of which is capable of handling a small number of requests.
This approach suffers from several problems:
• legacy applications not written in this style are difficult to adapt to the
Web
• breaking the application into pieces may make it harder to modify the
application
• screen flow is difficult to handle in general, as users can clone the
browser window, submit simultaneous requests, bookmark pages, or
hit the ”Back” button on the browser
• techiques to maintain state often require each piece of the Web app to
manipulate objects in a ”session” hash table, resulting in side-effects
and dependencies that can cause subtle bugs
3 USING CONTINUATIONS TO ADD STATE TO THE WEB 3
3 Using Continuations to Add State to the
Web
Since a continuation is a first-class value in Scheme and can be invoked an
arbitrary number of times, continuations can be used to add state to a Web
application. Whenever the Web application needs input from the user, the
app saves the current continuation associated with that user. When the user
responds with some information, the saved continuation is restored, and the
input provided by the user is returned as the value of the continuation.
Since a continuation can be invoked multiple times, a user can bookmark
a page and return to the page later. As long as the continuation still exists,
the user can begin interacting with the application at that point in the
”conversation”.
For example, imagine someone who frequently uses an airline reservation
site to fly the same route each week. The site might require that the route
information be entered by the user each time a flight is booked. To save
time, the user may wish to fill in the information once, then bookmark the
next page of the transaction. As long as the continuation saved at that point
is still valid, the user can go back to the site in the future and book a new
flight without having to enter the route information again.
Note that in this case the user is able to save a pending transaction at an
arbitrary point not explicitly supported by the designers of the Web site.
4 Issues to Consider
You will need to consider the following issues before using continuations in
your Web application:
4.1 Saving the continuation
There are three basic approaches to saving continuations: save them on the
server, on the client, or make the decision at run-time.
4.1.1 Save it on the Server
This approach reduces bandwidth, but has implications with respect to storage
space and session timeouts. The saved continuation is usually mapped
4 ISSUES TO CONSIDER 4
to a unique URL by which it is invoked.
4.1.2 Save it on the Client
Once again, there are a couple of options here. The general tradeoff is that
you reduce storage requirements on the server at the expense of increased
bandwidth. In addition, you must be able to serialize/unserialize your continuation
in some way.
1. Save the continuation in a cookie
The advantage is that the continuation is persistent, eliminating session
timeouts. A disadvantage is that you must deal with the submittal of
older versions of continuations. Also, most browsers limit the size of
cookies to a few kilobytes.
2. Save the continuation in a hidden field
This may be the only option for saving larger continuations on the
client-side. Session timeouts are still a problem.
4.1.3 Hybrid Approach
Look at the size of each continuation before deciding where to save the continuation.
This approach combines some of the benefits of the previous two
approaches, at the expense of additional complexity.
4.2 Simulating Continuations in Other Languages
Even if you are programming in a language that doesn’t have explicit continuation
support, there are still ways to use some of these techniques. See
”Automatically Restructuring Programs for theWeb” (Graunke, et al., 2002)
for details on CPS, lambda lifting and defunctionalization.
Continuations can be simulated in Java by using exception handling, as
is done in the Kawa Scheme interpreter. Unfortunately, these fake continuations
are strictly less powerful than the real thing, and cannot be used to
simulate co-routines, for example. For details, see
http://www.delorie.com/gnu/docs/kawa/kawa-tour 19.html
5 ADVANTAGES 5
5 Advantages
Using continuations to add conversational state to a Web application has
numerous advantages over traditional mechanisms:
• Can structure the program to match the problem.
• Gracefully handles unusual navigational patterns.
• Can use standard development tools, including debuggers.
• Can port legacy software to the Web more readily.
• Provides for a more rigorous understanding of program structure and
Web navigation.
• Can store conversational state on the client’s browser, if desired.
• Can take advantage of standard automatic program transformations.
6 Limitations
Unfortunately, all is not sunshine when using continuations in your Web app.
Here are a few real disadvantages of a continuation-based approach:
• Continuations seem to be hard to understand.
• What if your language doesn’t support first-class continuations?
• Where do you save the continuation?
• Garbage collection:
– How long before you empty the trash?
– How to handle distributed garbage collection?
• Must a continuation be associated with a unique thread?
• How do you reconcile continuations with persistent stores?
• How do you manage software versioning with continuations?
7 SOME SYSTEMS IN USE 6
• If you use CPS, will anyone be able to understand your code?
• Will ease of implementation drive the user experience?
• Are continuations efficient?
• How do you convince your boss that this approach works?
7 Some Systems in Use
Here are a few Web-based systems that use either continuations or CPS to
help maintain state:
Yahoo! Store http://store.yahoo.com/ (formerly ViaWeb)
See http://www.paulgraham.com/lib/paulgraham/bbnexcerpts.txt for
details.
Persistent Server-Side Scheme Interpreter (PS3I)
(http://youpou.lip6.fr/queinnec/VideoC/ps3i.html)
See the papers by Christian Queinnec in the Further Reading section
of this paper for more information on PS3I and the Universit´e Paris
CD-ROM.
Universit´e Paris CD-ROM (http://videoc.lip6.fr/)
HTDP Web Server (http://www.htdp.org)
See the papers by Paul Graunke, et al., for details.
Other Systems See the comp.lang.scheme thread I started on November
19, 2002.
8 Open Problems
As I see it, the three biggest technical hurdles preventing adoption of continuationbased
Web programming in the commercial sector are:
1. dealing with side effects, especially mutable stores
9 A MODEST PROPOSAL 7
2. determining the best manner in which to save continuations
3. designing systems so that the GUI does not receive sloppy seconds
Graham may have solved some or all of these problems in designing ViaWeb
- I’ll ask him.
9 A Modest Proposal
If the Metro-Schemers group decides to create a Web site, I propose that we
use a continuation-based architecture. This would better allow us to see how
a continuation-based system works in practice.
One possibility might be to use the DrScheme TeachPack mentioned
in ”Automatically Restructuring Programs for the Web” (Graunke, et al.,
2002).
10 Further Reading
Perhaps the best source for in-depth information about Scheme is Jim Bender’s
”Bibliography of Scheme-related Research” at http://library.readscheme.org/
Most relevant to this presentation is Bender’s ”Reading list on XML and
Web Programming” at http://readscheme.org/xml-web/ and his ”Continuations
and Continuation Passing Style” page at http://library.readscheme.org/page6.html.
Unless indicated otherwise, links to all of these papers are available on
Jim’s site.
10.1 Continuations
The following books and papers contain much useful information on continuations:
• R. Kent Dybvig. The Scheme Programming Language (2nd ed.). Prentice
Hall, 1996.
Entire text available online at http://www.scheme.com/tspl2d/index.html.
Sections 3.3 and 3.4 introduce continuations and continuation-passing
style, respectively.
10 FURTHER READING 8
• Paul Graham. On Lisp. Prentice Hall, 1993.
Entire text available online at http://www.paulgraham.com/onlisptext.html.
Chapter 20 contains an in-depth examination of Scheme continuations.
• Robert Hieb, R. Kent Dybvig, and Carl Bruggeman. ”Representing
Control in the Presence of First-Class Continuations”. ACM SIGPLAN
1990 Conference on Programming Language Design and Implementation.
June 1990.
This paper examines how to efficiently implement continuations, which
may provide the reader with additional insight into the nature of continuations.
• John Small. ”Introducing PLT Scheme.” Pea Pod Publishing (Rogare
L.L.C.), Great Falls, Virginia, 2002.
Available at http://www.rogare.com/metro-schemers/intropltscheme.pdf.
Chapter 3 contains an in-depth look at continuations.
10.2 Web Programming with Continuations
These documents show how continuations and continuation-passing style can
be useful in Web application development:
• Paul Graham. ”Lisp in Web-Based Applications”. Excerpt of talk
given at BBN Labs in Cambridge, MA, April 2001.
Available at http://www.paulgraham.com/lib/paulgraham/bbnexcerpts.txt
Graham briefly explains how the architecture of ViaWeb exploited
continuation-passing style.
• Paul Graunke, Robert Findler, Shriram Krishnamurthi, Matthias Felleisen.
”Automatically Restructuring Programs for the Web”. Automated
Software Engineering 2001. 2001.
This paper explains how to use several automatic program transformations
(including CPS) to allow Web-based programs to be written in a
simpler fashion than usual.
10 FURTHER READING 9
• Paul Graunke, Shriram Krishnamurthi, Van der Hoeven and Matthias
Felleisen. ”Programming the Web with High-Level Programming Languages”.
Proceedings of ESOP 2001. 2001.
Explains how features of a high-level programming language, including
first-class continuations, allow for simple yet efficient creation of Web
applications.
0 komentar:
WEB LECTURE
WEB KAMPUS
Style Baju Muslim Murah
-
New September 2012 - [image: Rp150.000,00] DSC 1010 Rp145.000,00 [image: Rp145.000,00] DSC 1011 Rp145.000,00 DSC 1015 Rp150.000,00 DSC 1017 Rp150....12 tahun yang lalu
CV. LUANTJAR DJAJA
Luantjar Djaja
Perusahaan Luantjar Djaja didirikan pada tanggal…tahun 2004 sesuai akte pendirian no….Luantjar Dajaja berbentuk sebuah CV (perusahaan komanditer) yang bertempat di Delta sari indah no. 104 Waru-Sidoarjo. Pada tahap awal perusahaan ini masih digolongkan sebagai industri kecil menengah yang nantinya kami optimis akan menjadi sebuah perusahaan yang besar dan bersaing dengan perusahaan lainnya yang sejenis.
Kegiatan perusahaan kami bergerak di bidang jasa IT (Information Technology) baik sebagai konsultan maupun yang lainnya. Memang kami sadar bahwa perusahaan kami masih baru akan tetapi untuk kemampuan kami cukup bersaing.
Perusahaan kami cukup andal dalam hal tenaga kerja, ini dikarenakan semua tenaga kerja kami lulusan dari sebuah perguruan tinggi negeri yang berkompeten dalam IT.
Sehubungan dengan kebijakan pemerintah Indonesia menuju Indonesia Go Open Source (IGOS) dan penegakan UU HaKI (hak kekayaan intelektual) tentang pembajakan perangkat lunak yang masih merajalela di bumi Indonesia.
Linux Education Centre
Contac Person :
Adhytiya Handoko :
31-7885404,0856-3473261
Hormat kami
Directur Marketing Directur
Adhytia Handoko,A.Md M. & Syariefuddien Z, S.Pd.,M.T