<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-1812708829195039869</atom:id><lastBuildDate>Thu, 19 Dec 2024 03:30:40 +0000</lastBuildDate><category>framework</category><category>laravel</category><category>php</category><title>Portal-Sharing</title><description></description><link>http://shareitreal.blogspot.com/</link><managingEditor>noreply@blogger.com (Kidd)</managingEditor><generator>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1812708829195039869.post-460621181313368360</guid><pubDate>Fri, 25 Mar 2016 07:43:00 +0000</pubDate><atom:updated>2016-04-25T10:16:24.389+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">framework</category><category domain="http://www.blogger.com/atom/ns#">laravel</category><category domain="http://www.blogger.com/atom/ns#">php</category><title>Konfigurasi dan Instalasi Laravel</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://3.bp.blogspot.com/otRej2sPPlt478gckeSB1aBDCjxPEHAMDStXqVs4qVo-4dJzvYy4Xp91CnsGW0UGzDX_og=s400&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://3.bp.blogspot.com/otRej2sPPlt478gckeSB1aBDCjxPEHAMDStXqVs4qVo-4dJzvYy4Xp91CnsGW0UGzDX_og=s400&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Baik setelah kita mengenal tentang framework Laravel ini pada post sebelumnya&amp;nbsp;&lt;a href=&quot;http://shareitreal.blogspot.co.id/2016/03/berkenalan-dengan-php-framework-laravel.html&quot; target=&quot;_blank&quot;&gt;Berkenalan Dengan Framework Laravel&lt;/a&gt;&amp;nbsp;,yang semakin membuat penasaran untuk segera mencoba konfigurasi dan instalasi framework laravel ini.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Instalasi dan konfigurasi Laravel pada umumnya sama dengan framework PHP lainnya, tapi ada sedikit perbedaan mendasar pada cara instalasinya.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Tools yang dibutuhkan :&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;1. Text Editor&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;, Pilih text editor yang sesuai dengan kebutuhan/selera anda, seperti Notepad++, Dreamweaver, Sublime Text dan lainnya.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;2. Web Server&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;, Yang paling penting unutk instalasi &amp;nbsp;Laravel adalah versi PHP minimal versi 5.3 keatas. Aplikasi web server yang dapat digunakan seperti XAMMP/WAMP web service.&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;3. OpenSSL&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt; enabled di file -&amp;gt;php.ini&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;4. Composer&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;, adalah fitur fitur (dependency) tambahan untuk PHP yang memiliki basis seperti Command Line dan berfungsi sebagai penginstall third-party pulgin untuk aplikasi web secara cepat.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;5.&amp;nbsp;&lt;/b&gt;Download dan Install Composer di&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://getcomposer.org/&quot; style=&quot;text-align: justify;&quot; target=&quot;_blank&quot;&gt;getcomposer.org&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;Tunggu proses instalasi selesai, lalu untuk menguji hasil instalasinya buka&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;Command&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;Prompt.&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;Kemudial ketikkan&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;composer&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;dan enter. Apabila instalasi berhasil maka akan tampil gambar seperti dibawah ini.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://4.bp.blogspot.com/jUh2bYR1PgGbfGS355UV13qfsF2IELfrWYJ6eWBs7UjDdH69I4MdHA_yQh-c-FxwUHI8gg=s400&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;286&quot; src=&quot;https://4.bp.blogspot.com/jUh2bYR1PgGbfGS355UV13qfsF2IELfrWYJ6eWBs7UjDdH69I4MdHA_yQh-c-FxwUHI8gg=s400&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;6. Pastikan openssl enabled di php.ini, buka file php.ini di folder xampp (C:\xampp\php).&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Instalasi Laravel Melalui Composer :&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1.&lt;b&gt;&amp;nbsp;&lt;/b&gt;Buka&amp;nbsp;&lt;b&gt;Command Prompt&amp;nbsp;&lt;/b&gt;dan masuk ke direktori (C:\xampp\htdocs\laravel) dan ketik perintah:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Composer Install&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;2. Tunggu proses instalasi sampai selesai, karena membutuhkan koneksi yang cukup baik agar proses instalasi cepat selesai.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;3. Setelah sukes instalasi, buka browser &amp;nbsp;anda lalu ketikkan &lt;b&gt;http://localhost/laravel &lt;/b&gt;Apabila instalasi Laravel berhasil maka akan tampil seperti gambar dibawah ini.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://4.bp.blogspot.com/JkWP0EHMlBM1tiJjaSqnDiGAvEqtbE6pae0M3QbXfuA_CrPr_0PYUVNnzHBXThILoavlYA=s400&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;355&quot; src=&quot;https://4.bp.blogspot.com/JkWP0EHMlBM1tiJjaSqnDiGAvEqtbE6pae0M3QbXfuA_CrPr_0PYUVNnzHBXThILoavlYA=s400&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;4. Lalu klik pada folder &lt;b&gt;public &lt;/b&gt;atau kerikkan URL&amp;nbsp;&lt;/span&gt;&lt;b&gt;http://localhost/laravel/public &lt;/b&gt;maka akan tampil halaman utama Laravel.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://4.bp.blogspot.com/07l21xXsBNTDJFjvEUfsV_QLNq50fSGSu_NrvuIOUUhR5Vd5qxFkgdcYogJk-m4KwhO5Ow=s400&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;387&quot; src=&quot;https://4.bp.blogspot.com/07l21xXsBNTDJFjvEUfsV_QLNq50fSGSu_NrvuIOUUhR5Vd5qxFkgdcYogJk-m4KwhO5Ow=s400&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
5. Proses instalasi Laravel melalui composer sudah berhasil.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://shareitreal.blogspot.com/2016/03/konfigurasi-dan-instalasi-laravel.html</link><author>noreply@blogger.com (Kidd)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://3.bp.blogspot.com/otRej2sPPlt478gckeSB1aBDCjxPEHAMDStXqVs4qVo-4dJzvYy4Xp91CnsGW0UGzDX_og=s72-c" height="72" width="72"/><thr:total>1</thr:total><georss:featurename>Jakarta, Daerah Khusus Ibukota Jakarta, Indonesia</georss:featurename><georss:point>-6.2087634 106.84559899999999</georss:point><georss:box>-6.4613213999999992 106.5228755 -5.9562054 107.16832249999999</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1812708829195039869.post-2000442249281674886</guid><pubDate>Tue, 22 Mar 2016 08:53:00 +0000</pubDate><atom:updated>2016-03-25T14:50:34.222+07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">framework</category><category domain="http://www.blogger.com/atom/ns#">laravel</category><category domain="http://www.blogger.com/atom/ns#">php</category><title>Berkenalan Dengan PHP Framework Laravel</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFCav3GIswBNLWC4fEcvC-YE2ipVSqoL2pc7zsq0baR04BoeFlkgixc3AJubLe76heFe0PTBWffjqSOJuBHYS5NreZAd3tf1Avhj4fvSjnRdJ1dS36Yu8r23RCJEjZjYCgD_Jm4-uhXRE/s1600/laravel-logo-white.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://2.bp.blogspot.com/b8yJHkU23VJeBsoF4XpcB24NqakBv3rZ4nc7gKIMiRleRvWEGCw5sYjsOVaeaw6Lt3o_RA=s400&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://2.bp.blogspot.com/b8yJHkU23VJeBsoF4XpcB24NqakBv3rZ4nc7gKIMiRleRvWEGCw5sYjsOVaeaw6Lt3o_RA=s400&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Apa itu framework ?&amp;nbsp;&lt;span style=&quot;background-color: white; line-height: 21.9999px;&quot;&gt;framework adalah komponen pemprograman&amp;nbsp;yang siap&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: white; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; line-height: 21.9999px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;re-use&lt;/em&gt;&lt;span style=&quot;background-color: white; line-height: 21.9999px;&quot;&gt;&amp;nbsp;(bisa digunakan ulang)&amp;nbsp;kapan saja, sehingga programmer tidak harus membuat&amp;nbsp;skrip yang sama untuk tugas yang sama.&amp;nbsp;Misalkan kita ingin membuat halaman-halaman web yang&amp;nbsp;menampilkan data dengan paginasi (paging)&amp;nbsp;halaman, framework telah menyediakan fungsi paging&amp;nbsp;tersebut sedangkan programmer cukup menggunakan fungsi tersebut&amp;nbsp;pada saat coding, tetapi&amp;nbsp;tentu dengan kaidah-kaidah yang ditetapkan oleh masing-masing framework.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Mungkin bagi programmer PHP atau web designer sudah tidak asing lagi mendengar kata framework, banyak sekali jenis-jenis framework yang dapat digunakan oleh web designer untuk mengerjakan project-project website tersebut. Seperti CakePHP, Yii Framework, Zend, Symfoni, Code Igniter, dan Laravel yang sudah sangat populer.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sama seperti framework-framework lainnya, Laravel dibangun dengan konsep MVC (Model-View-Controller), kemudian Laravel dilengkapi juga &lt;/span&gt;&lt;i style=&quot;font-family: inherit;&quot;&gt;command line tool &lt;/i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;yang disebut &lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&quot;Artisan&quot; &lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;yang dapat digunakan untuk &lt;/span&gt;&lt;i style=&quot;font-family: inherit;&quot;&gt;packaging bundle &lt;/i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;dan &lt;/span&gt;&lt;i style=&quot;font-family: inherit;&quot;&gt;instalasi bundle&lt;/i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; melalui command prompt.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Oleh karena itu tidak heran framework Laravel semakin populer bagi programmer PHP untuk membuat website yang elegant dan dinamis. Karena framework ini menekankan kesederhanaan dan fleksibilitas pada desainnya.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Maka dari itu framework Laravel semakin meningkat dari tahun ke tahun, berdasarkan analisa dari google trend dibawah ini.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;script src=&quot;//www.google.co.id/trends/embed.js?hl=en-US&amp;amp;q=laravel,+/m/02qgdkj,+/m/0cdvjh,+Yii,+/m/09t3sp&amp;amp;cmpt=q&amp;amp;tz=Etc/GMT-7&amp;amp;tz=Etc/GMT-7&amp;amp;content=1&amp;amp;cid=TIMESERIES_GRAPH_0&amp;amp;export=5&amp;amp;w=700&amp;amp;h=330&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
Dari grafik diatas dapat dilihat kepopuleran framework Laravel semakin meningkat mengalahkan Zend framework dan CodeIgniter yang semakin menurun grafiknya.&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 21.9999px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Meski tergolong baru, namun Laravel telah mencuri perhatian banyak web programmer di dunia.&amp;nbsp;Banyak dokumentasi dokumentasi yang sudah disebarluaskan oleh para pengembang website.&amp;nbsp;Sebenarnya proyek Laravel sudah lama diadakan, sekitar bulan April tahun 2011, dan sekarang&amp;nbsp;telah menjelma menjadi framework yang banyak digunakan oleh programmer di dunia termasuk&amp;nbsp;Indonesia.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 21.9999px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; line-height: 21.9999px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pembuat Laravel adalah Taylor Otwell. Alasan pembuatan framework ini menurut sebuah artikel&amp;nbsp;adalah karena Taylor tidak puas dengan CodeIgniter, karena ada beberapa fitur fungsional menurut&amp;nbsp;Taylor penting yang tidak support, seperti kotak autentikasi dan routing. Taylor sendiri, ternyata&amp;nbsp;memiliki latar belakang .Net. Seperti yang sudah umum diketahui bahwa teknologi .Net biasa&amp;nbsp;digunakan untuk membuat aplikasi enterprise. Dan Taylor Oatwell mencoba mengaplikasikan&amp;nbsp;pengalamannya tersebut ke dalam Laravel. Dia baru mulai belajar PHP setelah versi 5.3 dirilis dan&amp;nbsp;Laravel sangat beruntung karena keterlambatan mengenal PHP tersebut membuat Laravel tidak&amp;nbsp;terkontaminasi dengan ‘backward compatibility’ PHP dan bisa fokus memanfaatkan fitur-fitur&amp;nbsp;barunya.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 21.9999px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; line-height: 21.9999px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 21.9999px; text-align: start;&quot;&gt;Berikut ini adalah beberapa kelebihan Laravel :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 21.9999px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 21.9999px; text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;line-height: 21.9999px;&quot;&gt;&lt;b&gt;1. Expressif&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 22.1px; text-align: left;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Laravel adalah sebuah framework PHP yang expressif, artinya ketika melihat suatu syntax Laravel, seorang programmer “diharapkan” akan langsung tahu kegunaan dari syntax tersebut meskipun belum pernah mempelajarinya apalagi menggunakannya.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 22.1px;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Coba kita bandingkan penulisan script yang memiliki tujuan yang sama tapi berbeda dalam penulisan&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;brush:php&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;//Script Framework xxx
$url = Uri::create(&#39;contoh/url&#39;,array(),array(),true);

//Script Framework Laravel
$url = URL::to_secure(&#39;contoh/url&#39;);
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;Dari contoh kedua script diatas penulisan script pada Laravel lebih mudah untuk dipahami, Karena Laravel melakukan pendekatan yang berbeda dengan membuang parameter yang sifatnya flagging dan memilih untuk membuat dua fungsi yang berbeda.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;2. Simple
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22.1px;&quot;&gt;Salah satu yang membuat Laravel begitu simple adalah adanya Eloquent ORM. Misalkan, kita ingin mengambil semua data yang ada pada tabel users. Maka yang kita perlukan, hanya membuat sebuah class model bernama User :&lt;/span&gt;&lt;br style=&quot;background-color: white; line-height: 22.1px;&quot; /&gt;&lt;span style=&quot;background-color: white; line-height: 22.1px;&quot;&gt;Kemudian kita tinggal memasukan semua data dari tabel users tersebut dengan cara sebagai berikut :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: php&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;$all_user = User::all();
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22.1px;&quot;&gt;Dengan begitu, semua data dari tabel users, akan dengan mudah diakses dengan melakukan looping terhadap variabel $all_user. Eloquent akan dibahas pada artikel&amp;nbsp;selanjutnya.&lt;/span&gt;&lt;br style=&quot;background-color: white; line-height: 22.1px;&quot; /&gt;&lt;span style=&quot;background-color: white; line-height: 22.1px;&quot;&gt;Contoh lain, Laravel memiliki kesederhanaan dalam masalah routing. Pada prinsipnya, membangun website hanyalah masalah request – response. Ada request terhadap halaman x dan Anda juga harus merespon x, maka dalam situasi seperti ini Laravel menerapkan prinsip routing yang sangat simple.&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22.1px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: php&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;// output html menggunakan echo
route::get(&#39;halo&#39;,function()
{ echo &#39;halo, saya web artisan&#39;;
});
// output menggunakan view terpisah,
// seperti yang lazim di temui di framework berbasis MVC
route::get(&#39;home&#39;,function()
{ returnView::make(&#39;home.index&#39;);
});
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;3. Accessible&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;Bagi teman-teman yang sudah biasa dengan framework berbasis PHP, saya yakin tidak asing lagi dengan framework CodeIgniter. CodeIgniter merupakan salah satu PHP framework paling populer, meskipun ada suatu framework yang bisa dibilang lebih superior dibanding CodeIgniter, seperti Kohana. Kohana bisa dibilang memiliki fitur lebih bagus, Namun demikian CodeIgniter memiliki dokumentasi yang lengkap, sehingga framework ini menjadi lebih mudah untuk digunakan.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;Begitu pulan dengan Laravel, Laravel pun dibuat dengan dokumentasi yang selengkap mungkin. Code Developernya dari Laravel sendiri berkomitmen untuk selalu menyertakan dokumentasi yang lengkap setiap kali rilis versi terbarunya.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; line-height: 1.6923; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Framework Laravel memiliki beberapa fitur sebagai berikut:&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol style=&quot;background-color: white; border: 0px; line-height: 1.7; list-style-position: outside; margin: 0px 0px 0px 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Bundles&lt;/strong&gt;&amp;nbsp;yaitu sebuah fitur dengan system pengemasan modular dan berbagai bundle telah tersedia untuk di gunakan dalam aplikasi Anda&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Eloquent ORM&lt;/strong&gt;&amp;nbsp;merupakan penerapan PHP lanjutan dari pola “active record” menyediakan metode internal untuk mengatasi kendala hubungan antara objek database. Pembangunan query Laravel FLuent didukung Eloquent.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;b&gt;Application Logic&lt;/b&gt; merupakan bagian dari aplikasi yang di kembangkan, baik menggunakan Controllers maupun sebagai bagian dari deklarasi Route. Sintaks yang digunakan untuk mendefinisikannya mirip dengan yang digunakan oleh framework Sinatra.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Reverse Routing&lt;/strong&gt;, mendefinisikan hubungan antara Link dan Route, sehingga jika suatu saat ada perubahan pada route secara otomatis akan tersambung dengan link yang relevan. Ketika link yang dibuat dengan menggunakan nama-nama dari Route yang ada, secara otomatis Laravel akan membuat URI yang sesuai.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Restful Controllers&lt;/strong&gt;, memberikan sebuah option (pilihan) untuk memisahkan logika dalam melayani HTTP GET dan permintaan POST.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Class Auto Loading&lt;/strong&gt;, menyediakan otomatis loading untuk class-class PHP, tanpa membutuhkan pemeriksaan manual terhadap jalur masuknya. Fitur ini mencegah loading yang tidak perlu.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;View Composers&lt;/strong&gt;&amp;nbsp;adalah kode unit loogical yang dapat dijalankan ketika sebuah View di load.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;IoC Composers&lt;/strong&gt;&amp;nbsp;memungkinkan untuk objek baru yang dihasilkan dengan mengikuti prinsip control pembalik, dengan pilihan contoh dan referensi dari objek baru sebagai Singletons.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Migrations&lt;/strong&gt;&amp;nbsp;menyediakan versi sistem control untuk skema database, sehingga memungkinkan untuk menghubungkan perubahan adalah basis kode aplikasi dan keperluan yang dibutuhkan dalam merubah tata letak database, mempermudah dalam penempatan dan memperbarui aplikasi.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Unit Testing&lt;/strong&gt;&amp;nbsp;mempunyai peran penting dalam framework Laravel, dimana unit testing ini mempunyai banyak tes untuk mendeteksi dan mencegah regresi. Unit testing dapat dijalankan melalui fitur “artisan command line”.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 24px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;strong style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Automatic pagination&lt;/strong&gt;&amp;nbsp;menyederhanakan tugas dari penerapan halaman, menggantikan penerapan yang manual dengan metode otomatis yang terintegrasi ke Laravel.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 27.2px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 27.2px;&quot;&gt;Demikian kita sudah cukup mengenal framework Laravel, post berikutnya kita akan membahas lebih lanjut lagi dari framework Laravel ini.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://shareitreal.blogspot.com/2016/03/berkenalan-dengan-php-framework-laravel.html</link><author>noreply@blogger.com (Kidd)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/b8yJHkU23VJeBsoF4XpcB24NqakBv3rZ4nc7gKIMiRleRvWEGCw5sYjsOVaeaw6Lt3o_RA=s72-c" height="72" width="72"/><thr:total>1</thr:total><georss:featurename>Jakarta, Daerah Khusus Ibukota Jakarta, Indonesia</georss:featurename><georss:point>-6.2087634 106.84559899999999</georss:point><georss:box>-6.4613213999999992 106.5228755 -5.9562054 107.16832249999999</georss:box></item></channel></rss>