Hunt Framework is a full stack Web framework developed in D language, similar to Laravel / SpringBoot / Django, etc., which enables D language developers to create projects quickly. The built-in super multi business specifications are convenient for developers to use out of the box, and convenient for managers to review project code more easily ...
Posted by jesse_james on Thu, 18 Jun 2020 02:11:58 -0700
The factory model is over. Let's study some other models. I wonder if you guys have tried women's clothes? It's said that there are many programmers in women's wear. In fact, today's decorator pattern is very similar to that of make-up. I believe that if there is a program in MM, I will be able to expla ...
Posted by ChrisBoden on Tue, 16 Jun 2020 20:21:21 -0700
Recently, I had to implement universal unique identifiers (UUIDs) in Laravel 7, and encountered some problems. I hope this post can help other people who are doing the same thing.
Advanced reasons for using UUIDs
A) They remove the ID number from your uniform resource locator, so users can't see how many specific objects your app has created. F ...
Posted by heals1ic on Tue, 26 May 2020 09:14:59 -0700
php form embed php code in Web page
1. Add PHP script to HTML tag
In the process of Web coding, PHP is an embedded language that can be mixed with HTML. You can add PHP script tag <? PHP...? > to HTML at any time. All the text between the two tags will be interpreted as PHP, and any text outside the tag will be considered as ordinary HT ...
Posted by sell-traffic on Sun, 24 May 2020 18:54:52 -0700
laravel has many projects in use, but routing configuration is an indispensable work. In many cases, routing configuration not only increases the repetitive work, but also increases the code overhead. When the project reaches a certain level, the number of routing configurations will be amazing.
In many cases, we have to think that although th ...
Posted by ben2468 on Mon, 11 May 2020 00:57:47 -0700
In the online shopping mall, we can often see multi-level classification, sub classification and even unlimited classification. This article will show you how to implement it gracefully through Laravel Eloquent.
We will create a micro project to show the classification of children's shops, with 5 levels in total, as follows:
Database migrati ...
Posted by nitram on Mon, 11 May 2020 00:03:54 -0700
API is a good choice when using cross platform applications. In addition to the website, your product may also have Android and iOS applications. In this case, the API is just as good because you can write different front ends without changing any back-end code. When using the API, just click GET, POST or other types of requests with some param ...
Posted by beachcomber on Sat, 09 May 2020 01:20:36 -0700
Laravel has its own SwiftMailer library, which integrates a variety of email API s and can easily send emails.
We use the SMTP (Simple Message Transfer Protocol) simple mail transfer protocol, which is generally understood as the mail sending server.
1. Open POP3 and SMTP services
1.1. Here we take QQ email as a case
Settings - > account - & ...
Posted by Dimitri89 on Fri, 24 Apr 2020 19:47:03 -0700
The Laravel team yesterday released v7.7.0, which includes container supported constructors supporting variable parameters, some new HTTP client functions, Blueprint's new rawIndex() method and all the latest functions in the 7.x branch. Repair and change:
HTTP client GET request support array
Daniel Mason contributed to the HTTP client's suppo ...
Posted by busyguy78 on Thu, 23 Apr 2020 00:00:00 -0700
One sentence summary:
1. The data migration of lavarel is relatively simple, which is to create data tables with php
2. Create migration file: PHP artican make: migration create? HD? Table -- create = HD
3. Create the migration file as a table: PHP artican migrate
1. Install barryvdh / laravel ide helper to add code prom ...
Posted by GrayFox12 on Wed, 22 Apr 2020 05:00:51 -0700