Showing posts with label Laravel. Show all posts
Showing posts with label Laravel. Show all posts

Wednesday, 30 March 2016

Free 2 Ebook Pemula Laravel Bahasa Indonesia Lengkap PDF

Free 2 Ebook Pemula Laravel Bahasa Indonesia Lengkap PDF
Free 2 Ebook Pemula Laravel Bahasa Indonesia Lengkap PDF
Free Ebook Laravel Bahasa Indonesia Lengkap PDF, halo sobat sedot code. Saya ingin re-share ebook panduan bagaimana cara mempelajari framework php laravel.

Sebelumnya sudah ada buku yang sangat bagus dari RAhmad Awaludin, yang berjudul Seminggu Belajar Laravel, sebenarnya gag cukup seminggu, apalagi kurang praktek. :D



Penjelasan Singkat Laravel

Laravel untuk pertama kali dikembangkan sendiri oleh Taylor Otwell. Namun, sampai versi ke-4 sekarang, framework opensource ini dikembangkan bersama oleh komunitas dengan tokoh-tokoh penting selain Otwell adalah Dayle Rees, Shawn McCool (pembaca Nettuts pasti hafal orang ini), Jeffrey Way, Jason Lewis, Ben Corlett, Franz Liedke, Dries Vints, Mior Muhammad Zaki dan Phil Sturgeon. Mereka adalah kontributor sejumlah framework dan library PHP yang luar biasa.

Motto dari Laravel sendiri adalah PHP THAT DOESN’T HURT. CODE HAPPY & ENJOY THE FRESH AIR. Tujuan utama dari Laravel adalah mempermudah Coding dengan menggunakan PHP dalam web developing. Untuk itu, sudah disediakan banyak sekali tools-tools yang dapat mendukung dan mempercepat developing dan pengembangan web.

Mengapa Laravel ?

Dari beberapa sumber, ada beberapa kelebihan yang dimiliki oleh Laravel. Diantaranya :

  • Coding yang simple
  • Tersedia generator yang canggih dan memudahkan, Artisan CLI
  • Fitur Schema Builder untuk berbagai database,
  • Fitur Migration & Seeding untuk berbagai database,
  • Fitur Query Builder yang keren,
  • Eloquent ORM yang luar biasa,
  • Fitur pembuatan package dan bundle,
Laravel sendiri telah menyediakan teknologi Composer untuk memudakan penggunanya, Composer sendiri adalah fitur (dependency) tambahan untuk PHP yang memiliki basis layaknya Command Line, dan berfungsi sebagai penginstall third-party plugin untuk aplikasi web secara cepat.

Bagi web master, Laravel adalah segalanya. Namun bagi seorang web developer yang baru saja belajar Framework, Laravel memiliki kerumitan tersendiri.

Laravel memiliki kelebihan  dari sisi scripting PHP 5.4+ yang dikenal dengan OOP Minded. Performa laravel sendiri juga cukup bagus, ini cocok dengan web master PHP yang sudah lama berkecimpung dengan menggunakan Framework.

Selain laravel ada banyak framework php, tentunya para developer sudah mengetahui macam macam framework php. Penulis hanya pernah mencoba Codeigniter. Jika sobat ingin melihat prakteknya silahkan lihat video tutorial codeigniter bahasa indonesia yang pernah saya buat.

Jika untuk developer yang baru saja belajar Framework, disarankan untuk memilih Codeigniter. Sebenarnya tidak masalah jika mau memilih belajar Laravel langsung, akan tetapi untuk lebih memahami prosedur MVC lebih disarankan untuk belajar menggunakan Codeigniter terlebih dahulu.

Laravel dan Codeigniter sama saja, hanya perbedaannya ada di kerumitannya. Tergantung dari penggunanya, lebih nyaman dan mudah menggunakan yang mana. Detailnya silahkan tanya sma mbah google.

Daftar isi dari salah satu ebook laravel yang ingin saya reshare:

1. Berkenalan dengan Laravel

1.1. Apa itu Laravel ?

1.2. Kenapa Memakai Laravel ?

2. Memulai Laravel (Instalasi dan Konfigurasi)

2.1 Requirement

2.2 Install Package Laravel

2.3 Struktur Projek Laravel

3. Mengenal Dasar Routing

3.1 Routing Dasar

3.2 Routing Berparameter

4. Mengenal MVC (Model-View-Controller)

5. Mengenal Blade Template Laravel

6. Form dan HTML

7. Schema Builder

8. Migrations

9. Seeding

10. Eloquent

Saya gag bisa laravel, apalagi yang blade blade template,eloquent dan lainnya, Jadi tidak melayani konsultasi ya. Mimin hanya orang yang lagi suka menulis melalui blog, ngoding sudah lama gag di buka :D, Kalau mau ebooknya silahkan di sedot ebook tutorial dasar laravel, dengan ebook tutorial laravel untuk pemula

Acuan:

http://www.hafidmukhlasin.com
http://ebook.dede-gunawan.web.id
Jika butuh,  Passwordnya : "dede-gunawan.web.id"

Salam Terraligno

Sunday, 31 January 2016

Source code php berbasis oop login register system

Source code php berbasis oop login register system, Bagi sahabat yang lagi mencari source php yang bersifat Object Oriented Programming sobat harus mencoba aplikasi login register sign up ini. Jika mau belajar oop bahasa indonesia saya sarankan baca buku Trik Mudah Menguasai OOP dengan PHP.
Source code php berbasis oop login register system
Cover buku Trik Mudah Menguasai OOP dengan PHP.

Apa yang dimaksud OOP?

Pemrograman Berbasis Objek atau Object Oriented Programming (OOP) adalah sebuah tata cara pembuatan program (programming paradigm) dengan menggunakan konsep “objek” yang memiliki data (atribut yang menjelaskan tentang objek) dan prosedur (function) yang dikenal dengan method. (http://en.wikipedia.org/wiki/Object-oriented_programming).

Dikutip dari duniailkom , Dalam studi pemrograman, pembuatan program dalam PHP tanpa menggunakan objek disebut juga dengan pemrograman prosedural atau pemrograman fungsional. Dikenal dengan pemrograman prosedural, karena kita memecah kode program menjadi bagian-bagian atau fungsi-fungsi kecil, kemudian menyatukannya untuk menghasilkan nilai akhir.

Keuntungan pemrograman berbasis objek 

Java adalah aplikasi yang berbasis objek sedangkan konsep OOP dalam PHP baru hadir dalam PHP versi 4, dan disempurnakan oleh PHP versi 5. PHP sebenarnya bisa dibuat tanpa objek sekalipun, yang sering dibuat oleh pemula biasanya belum menggunakan OOP, masih bersifat Prosedural.

Didalam blog ini ada banyak source code php gratis yang menggunakan konsep oop dan prosedural, konsep oop dalam blog ini lebih menggunakan framework codeigniter.

Keuntungan pemrograman berbasis objek ini adalah ketika sobat membuat program yang cakupannya "besar" atau ketika sobat berkerja dalam sebuah tim.

Jika sobat sebelumnya sudah paham dengan java, maka saya yakin tidak ada kesulitan belajar aplikasi berbasis objek dengan php, karena oop akan membahas class, object, property dan method.

Contoh Aplikasi berbasis OOP dengan PHP

Source code php berbasis oop login register system

Contoh aplikasi berbasis oop, berikut adalah source code dari alex garret dalam youtubenya, dan saya praktekkan, jadi source ini bukan saya yang buat. :) , masih berminat? silahkan ambil source nya.

Tuesday, 29 September 2015

SIX Powerful PHP frameworks used for developing Agile applications



In growth and the current trend of advance technology, numerous PHP frameworks are available in a global market today.   Yet, using this framework will help developers to create projects rapidly with prolonged maintenance, scalability, better performance, high functionality and retain your code in a simple way.

Developers must focus on selecting unique framework based on the company’s requirements and needs. Here we see top-most PHP-frameworks, which help you to build any complex software or Agile applications in a smartest way.

Yii

It is a high-performance powerful PHP framework, which is especially designed to work with AJAX and ensures powerful caching support.  Developers can easily generate and customize base PHP code, which suits your requirements perfectly. This framework follows MVC pattern to build reusable and clean code, thus ensuring clear separation of the logic and presentation.
In addition, it supports you in writing and running unit test along with error handling facility and also designed to work with third party tools."

CakePHP

This framework enables CakePHP developers to build and manage every aspect of applications including user’s initial request to the final rendering of a web page in a seamless way. The framework is in-built with clean MVC conventions to guide the end-users in developing application and provides the basic organizational structure, which includes file names to database table names and retain your application consistently.

In addition, it comes with built-in tools and unique features such as database access, caching, authentication, translations to create effective web applications rapidly and ensures validation for SQL injection to maintain your application secured. 

Laravel

It is one of most popular and expensive PHP web application frameworks among the Web Artisans. This framework is a perfect match for huge enterprise level applications and in-built with highly elegant syntax, which helps Laravel developers to finish their development task with all types of sizes and project easily.  It is integrated with unit testing support to ensure excellent work performance on MySQL and offers robust tools to develop large-scale application efficiently.

A unique thing about this framework, relives pain out of web development process by offering common tasks, such as routing, caching, sessions and authentication.

Symphony

It is a PHP framework, which help you to accelerate creation and maintenance of web applications easily. Developers can make use of this framework and combined with a clear methodology to work on complex tasks efficiently and efficiently and it offers set of prefabricated components, which can be assimilated to your applications rapidly. 

Developers not confined within its environment. Yet instead having freedom of selecting the software components that you want to use.

CodeIgniter

It is a robust PHP framework, which perfectly suits for beginners to create full-featured web applications rapidly. This framework comes with simple and elegant platforms, which offer turnkey solutions for complex application requirements. It ensures a rich set of libraries for general task requirement with user-friendly interface and logical structures to access the libraries.

With help of MVC controller approach, CodeIgniter provides unique separation between logic and presentation that will be specifically useful for the projects in which designers working on template files.

Fat-Free

It is a powerful and flexible micro framework that assists you to develop effective and dynamic web applications. The framework speed up web development toolkit to ensure high performance URL routing and cache engine, built-in code, which is used for supporting and highlighting multilingual applications.

Fat-Free is built-in with optional plug-ins to enhance its capabilities such as a template engine, Geo data handler, customer logger, unit testing toolkit and image processor. It avoids un-necessary complication and targets to strike a balance among codes, productivity and performance by taking minimalists approach to software architecture.

Final words

Developers can use any one of above mentioned frameworks if you are awaited to create effective Agile applications.  These frameworks speed up coding process of any project due to its stability and simplicity.

Saturday, 22 August 2015

Laravel 5 shifts to 5.1 with many fantastic changes anew


New Features in Laravel 5.1

Beautiful codes crafted to fit in the purpose of developers who have an intense urge for creating faultless websites rapidly, are what Laravel as a platform signifies. From its date of introduction, way back in 2011 Laravel has undergone many updates. Each addition contributed to its flexibility and made it robust in all facets. Just a week before Laravel 5 features have been extended to improve its performance, and the new version is titled as Laravel 5.1. Let us check out some vital modifications made to Laravel 5 that can assist a Laravel development company in multiple ways.

Event broadcasting

In Laravel5.1 programmers can find a new tool for broadcasting events out to Pusher.com. Instead of Pusher.com, developers can resort to the Redis based Socket.io too. Pusher.com and Socket make use of web sockets to establish a connection with the user’s web browser directly. It enables programmers to push an event straightly to the user instead of reloading a page many times. The 5.1 version comes out with a Should Broadcast interface and a much refined Broadcast On method for adding the flexibility of broadcasting events.

Passing of parameters to Middleware

One of the main difficulties that occurred while using Laravel 5 was the passing of parameters to the Middleware. The route filters in Laravel 5 were not well set to handle the passing of parameters to Middleware. With the modifications done to the base codes, Laravel 5.1 has been improved to take parameters passed to the Middleware as well.

New improved Artisan commands

Artisan commands were added to the directory of Laravel to ease the functionality of every application and its interactivity. It is all out of the box commands which increase the flexibility of this platform while developing applications. Still the creation of arguments and calling of complex methods with operators was a tedious task for programmers with older versions of Laravel. Now Laravel 5.1 has simplified syntax which allows programmers to create commands, progress bars, as well as tables very easily.

Blade Service Injection

Programmers had to create separate View Composers for injecting objects into the blade templates, while using Laravel 5. In Laravel 5.1, developers can easily inject an object into the line of codes of Blade templates. Then the codes look nice, crisp, and more understandable,

Renovated Integration Testing

Integration testing is done to find out errors in the functioning of an application as an integrated unit. The new version of Laravel showcases immense emphasize in offering the best classes and methods to do integration testing of applications in the form of Model factories, Database Migrations, and Database transactions. This version even offers programmers to enable testing without Middleware Trait operator as well. Now the classes and methods will seem much shorter, and effective in Laravel 5.1 with superior features.

Long time support & other random updates

5.1 will be the first version of Laravel to offer a long time support. Adding to the core, this new framework has options to exclude routes from CSRF Middleware, run third party scripts without SSH, and some Elixir improvements to help better compiling of ECMA Script6.

Friday, 7 August 2015

New features of Laravel 5 – PHP Framework


Laravel 5 is one of the most leading and popular PHP frameworks among the Web Artisans. It is a latest and best web application framework with advanced query syntax  that makes web development simple and rapid by enabling general tasks that will be used in the majority of web projects such as route, queue, sessions, caching and authentication.

 Let us discuss some latest features of Laravel 5 in briefly:

The following features serve as a key point for the Laravel developer based on web development projects.

 Controller Method Injection:
The Laravel inversion of control (IoC) container is a robust tool for controlling class dependencies and a vital part to create a massive application. You may now type-hint dependencies on controller methods, then a service container will automatically inject the dependencies. With the predecessors of laravel like 4.2 version, there is a compulsion to request Ioc container to make them accessible within the class scope. Also you should provide an class instance for the ioc container. Recently, you can convey the type hinted class in the controller method injection,  then the IoC container will take care of it, even if multiple parameters are present in your controller function’s signature.

Route Hidden:
You can use the new route cache, if the service request built-in with complete tester programs. It speeds up your registration routes of applications with a reliable  performance quickly by accessing Artisan command. This kind of special feature is mainly useful in application and haste-up the section of appliance immensely. You may not view the impact route caching when your application deals with a small number of routes, but it is more suited with the application that has large routes number. The route-caching turns on and off based on PHP artisan route: cache and artisan route: clear commands respectively.

Route Middleware:
The Laravel 5 reinforces HTTP Middleware that can add extra layers to HTTP routes. It helps you to execute every route or specific route in your application and provides a constant link to swap various kinds of streams. The Middleware lets you test and remove request easily earlier accessing the artisan route.

Directory Structure:
Your classes are completely namespaced by integrating the PSR-4 auto-loading standard with a new folder structure of the Laravel.  Controllers, Middlewares and Requests are three sections of classes listed with in the directory of laravel 5.0 . These classes are completely related to the Hyper text transfer protocol transport application layer. You can receive a single and flat file of route filters, if the Middlewares broken into own class files. A new directory can replace the app/start files by accessing previous versions of Laravel 4.x. Using Laravel 5 different bootstrapping functions can be accessed to your applications such as, route loading, and error handling,  logging which makes additional service providers for such kind of your application.

Friday, 31 July 2015

Strengths and weakness of Laravel 5 PHP frame work


blog post banner for laravel 5.0
Analyse it "Most of PHP developers realize applications are performing in coding and functional plug-and play libraries known as modules that are emerged with numerous frameworks. In this article, we are going to discuss about strength and weakness of the Laravel 5 PHP frameworks".

Laravel 5 is a popular and leading PHP frameworks among the Web Artisans. It is a powerful web application framework with expressive and advanced query syntax that makes web development easy by enabling general tasks. Laravel 5 take efforts to avoid pain out of the development process by utilizing common task used in the majority of web projects such as route, queue, sessions, caching and authentication. It offers dynamic tools for Laravel developer to handle large web applications.

Let us discuss merits and demerits of Laravel 5 PHP framework.

Merits of Laravel 5

It speeds up your registration routes of applications with an excellent performance quickly by accessing Artisan command.

Laravel 5 make uses of the service providers to ensure different bootstrapping functions to your application such as logging, route loading, error handling, etc.

It simplifies tasks that need to be scheduled for each console command generated by a Cron entry and allows you to define your command schedule vividly and smoothly. 

Most of the web application developed by you consumed less time in writing the authentication boilerplate.

Laravel 5 helps you to execute every route or specific route in your application and provides a constant link to swap various kinds of streams.

It is assimilated with core system with authorization library and spontaneous components.

Laravel 5 frameworks has a unique object oriented libraries with systematized complete features.

It utilizes sustained components for the traditional frameworks.

This framework comes up unified with widgets such as CSS and JS next to solid structures with numerous activists around the internet.

Templates of the Laravel 5 are outlined with user-friendly and simple webpage layout.
It ensures top-notch performance.

Laravel 5 can be easily integrated with latest PHP programming versions.


Drawbacks of Laravel 5

Users will receive output slowly due to copy and paste existing code from other projects.

Absence of continuation between the versions. Your application will crack or break, if you update the code for the version 4 to version 5.

Read more visit source link: http://www.myprgenie.com/view-publication/strengths-and-weakness-of-laravel-5-php-frame-work?user_type=mc&ref_no=NTk4Mzcz%250A&utm_source=designernews

Saturday, 4 July 2015

Which is the best PHP framework: Laravel Vs Yii




Laravel and Yii are the two famously used PHP frameworks. Known for their developer friendliness, they bring a wide range of advantages to their developers. Both are open source frameworks. They both have many differences and at the same time a lot of commonalities. The main reason why Laravel is the best framework is due to its ease of use, less coding and expressive syntax. Yii framework is best known for its widgets and localization.

Model-view-controller architectural pattern of both the frameworks is very helpful. This pattern implements user-interfaces by dividing a software application into interconnected parts of three. The interactions between model, view and controller are well defined.

The best PHP framework

This would certainly be tougher to answer when one asks which is the best framework of the two. While a developer who is well-versed in Laravel would vote for it, the Yii developer would, likewise, rally behind it. Both have some of the best features to their name, and many features are common to both.

Laravel comes with a rich set of features. Using the resource controllers, CRUD process is very easier. The Eloquent ORM helps in interacting with the databases. Every model created in the MVC structure correlates to a table in the database.

In Yii framework, CRUD operations can be created with Gii, which is a web-based code generator. Generation of forms, modules, models is done quickly with the use of Gii. These operations make it easy for a Yii development company to build web applications easily.

Authentication of users in Laravel is very easier. Yii too has an inbuilt authentication which can also be customized. 'User application component' is an object that implements the Iwebuser interface.

In Laravel, with the help of seed classes, databases can be seeded with the data for testing. Seed classes can have any name.

In the Yii framework, cached data can be stored in various media. This is done with the use of different cache components that are offered. Yii has a wonderful caching system and supports DB based page, memcache, XCache, segment caching and APC. While in Laravel cache necessities include Database, Memcached and Redis.

In Yii, the dependency injection support includes constructor injection, setter and property injection and PHP callable injection. Dependencies in Laravel are injected at run-time. Closure callbacks or automatic resolution are two ways through which dependencies can be resolved.

To write SQL statements, the object-oriented way, the Yii query builder is very helpful. Properties and class methods are used to specify the SQL statement individual parts. Automatic quoting of tables, creating complex SQL statements and DB distraction are simplified using Query builder. Likewise, queries can be built programmatically in Laravel as well.

Features in Yii framework like role-based access control, scaffolding, input validation, functionality testing, automatic code generation, error handling and active record make it a best PHP framework. However, most of these features are also offered by Laravel, which is also a best and the most sought after framework amongst Laravel developer.

Conclusion:

Depending on the Developer's requirements, any framework – be it Laravel or Yii – can serve as the best framework. When the ease of developing web applications is perfectly achieved, any of these two frameworks can be ranked the best.