Skip to content

[TRANSLATE] Overview application flow #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions source/overview/appflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@ Grafik berikut menggambarkan bagaimana alur data melewati sistem:

|Alur aplikasi Codeigniter|

#. The index.php serves as the front controller, initializing the base
resources needed to run CodeIgniter.
#. The Router examines the HTTP request to determine what should be done
with it.
#. If a cache file exists, it is sent directly to the browser, bypassing
the normal system execution.
#. Security. Before the application controller is loaded, the HTTP
request and any user submitted data is filtered for security.
#. The Controller loads the model, core libraries, helpers, and any
other resources needed to process the specific request.
#. The finalized View is rendered then sent to the web browser to be
seen. If caching is enabled, the view is cached first so that on
subsequent requests it can be served.
#. File ``index.php`` berfungsi sebagai *front controller*, menginisialisasi *resource* utama yang dibutuhkan untuk menjalankan CodeIgniter.
#. *Router* memeriksa *HTTP request* untuk menentukan apa yang harus dilakukan dengan itu.
#. Jika file *cache* ada, dikirim langsung ke browser, melewati eksekusi sistem normal.
#. Keamanan. Sebelum *controller* aplikasi dimuat, *HTTP request* dan setiap data pengguna yang di *submit* disaring terlebih dahulu untuk keamanan.
#. *Controller* memuat *model*, *library* utama, *helper*, dan setiap *resource* lainnya yang diperlukan untuk memproses permintaan khusus.
#. *View* di *render* kemudian dikirim ke web browser agar dapat dilihat. Jika *caching* diaktifkan, *view* di *cache* terlebih dahulu sehingga pada permintaan berikutnya dapat dilayani.

.. |Alur aplikasi Codeigniter| image:: ../images/appflowchart.gif