Laravel 3.2 Documentation
.......................................................................................... 85 Eloquent ORM ........................................................................................... bundles directory or use the "Artisan" command-line tool to automatically install them. The Eloquent ORM is the most advanced PHP ActiveRecord implementation available. With the capacity to easily you'll have complete control over your data with all of the 2 conveniences of ActiveRecord. Eloquent natively supports all of the methods from Laravel's Fluent query-builder. Application Logic0 码力 | 139 页 | 1.13 MB | 1 年前3Learning Laravel
Laravel 2 Main Features 2 MVC 2 Blade Templating Engine 3 Routing & Middleware 3 Artisan 3 Eloquent ORM 3 Event Handling 3 Versions 3 Examples 4 Welcome to Laravel tag documentation! 4 Starter class 68 Calling the new class 68 Composer 69 Change the Controllers directory 69 Chapter 21: Eloquent 70 Introduction 70 Remarks 70 Examples 70 Introduction 70 Sub-topic Navigation 71 Persisting primary key and timestamps 74 Throw 404 if entity not found 75 Cloning Models 75 Chapter 22: Eloquent : Relationship 76 Examples 76 Querying on relationships 76 Inserting Related Models 76 Introduction0 码力 | 216 页 | 1.58 MB | 1 年前3Laravel 5.0 Documentation
Expressions vii. Inserts viii. Updates ix. Deletes x. Unions xi. Pessimistic Locking iii. Eloquent ORM i. Introduction ii. Basic Usage iii. Mass Assignment iv. Insert, Update, Delete v. Soft within the framework itself. More information on the new SoftDeletingTrait may be found in the Eloquent documentation. The default Laravel 4.2 installation now uses simple traits for including the needed default User model file out of the box. A new simplePaginate method was added to the query and Eloquent builder which allows for more efficient queries when using simple "Next" and "Previous" links in0 码力 | 242 页 | 1.44 MB | 1 年前3The Laravel Handbook
creates a model in app/Models/Dog.php : Notice the class inclues some classes under a “Eloquent” folder. Eloquent is an ORM (object-relational mapper), a tool that basically lets us interact with a database this: Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Dog extends Model { use HasFactory; ['name']; Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Dog extends Model { use HasFactory;0 码力 | 111 页 | 14.25 MB | 1 年前3《Slides Dev Web》02. Introduction aux frameworks PHP
= $om->find('Personne', $id); Object-Relational Mapping • RedBean23 • Doctrine24 (ORM, ODM) • Eloquent ORM25 • etc.26 Une bibliothèque qui va créer ce lien entre les mondes objet et relationnel ou 23http://www.redbeanphp.com/ 24http://www.doctrine-project.org/ 25http://laravel.com/docs/master/eloquent 26https://en.wikipedia.org/wiki/List_of_object-relational_mapping_software#PHP 17 URI as UI Pensez même ses outils propres. Liens avec Laravel • Modèle MVC • Templates utilisant blade. • ORM nommé Eloquent. • Front-Controller (Illuminate\Routing) • Bibliothèques … (Illuminate\*) • Composer38 Je vous0 码力 | 24 页 | 1.03 MB | 1 年前3《Slides Dev Web》 03. Laravel
sitories 7https://madewithlaravel.com/ 1 Principales fonctionnalités • Routes RESTful • ORM (Eloquent, implémentation du pattern Active Record) • Migrations • Moteur de templates (Blade) • Pagination Controller Architecture MVC • Structure d’une appli web = cycle Requête/Reponse9 • Modèle : Eloquent ORM • Vue : Blade Engine • Contrôleur : hérite de BaseController Pratique • Conventions de codage0 码力 | 8 页 | 224.34 KB | 1 年前3The PHP Handbook
should use a framework or ORM that would save you security issues with SQL injection. Laravel’s Eloquent is a great example. 21.10. JSON JSON is a portable data format we use to represent data and send0 码力 | 97 页 | 8.78 MB | 1 年前3
共 7 条
- 1