Tag:Controller
-
Time:2021-3-4
When it comes to angular styleguide, many people may think about itThis articleClassic article. Indeed, it’s a great article and has even been translated into many languages (including English)chinese)On GitHub, it has nearly 1.9W stars. This time, however, it’s not about it. Because with the wide application of ES6 and the release of angular 1.5, […]
-
Time:2021-3-2
preface My analysis article is not a deep-seated multi domain analysis strategy. But reading such articles with reference to the development documents will help you to a higher level in your daily development. No more nonsense. Let’s start this chapter. entrance After laravel starts, it will first load the service provider, middleware and other components. […]
-
Time:2021-3-2
Background of the author: I work in a foreign-funded IT enterprise as the product development manager of e-commerce order processing. I have led the development of many large and small projects, and I am very familiar with the order processing process of e-commerce platform. The company focuses on the software development and service of shoes […]
-
Time:2021-3-1
Problems recur In models/ User.php var UserModel = new (User) controller if models.UserModel.Token == “” { models.UserModel.Token = “hello world” } becausevar UserModel = new (User)OnlynewAt one time, each request shares the value of this variable. It will lead to the futureifWill it only be executed once, or will it be obedientnewA new pointer. Darlingnew […]
-
Time:2021-2-26
Contracts Laravel’s contract is a set of interfaces that define the core services provided by the framework, such as the user watcher contract we found in the chapter introducing user authenticationIllumninateContractsAuthGuardAnd user provider contractIlluminateContractsAuthUserProvider And the frame comes with itApp\UserThe implementation of the modelIlluminateContractsAuthAuthenticatableContract. Why use contracts From the source code files of the above […]
-
Time:2021-2-25
Eight responsibilities of Scrum master according toScrum Guide ,Scrum MasterResponsible for ensuring team understands and practices scrum. Scrum master does this by making scrum teams follow scrum’s theories, practices, and rules. Scrum master is the service-oriented leader of Scrum team. Scrum master helps those who are outside the scrum team to know their interactions with […]
-
Time:2021-2-20
PressAsp.net coreThe default interface writing, each interface controller must inherit fromControllerBaseClass, you also need to haveApiControllerCharacteristics andRoutecharacteristic,RouteThe routing rules have to be written manually. As shown in the figure below I think it’s troublesome. Maybe I’m lazy. In fact, most of the interface paths I write follow certain rules. Generally, the path prefix is […]
-
Time:2021-2-18
Prepare the code, which will be used in the example var app = angular.module(‘app’, []); The angular instruction is roughly defined as follows app.directive(‘directiveName’, function() { return { // config } }) Among them, the configuration object returned by return contains many parameters, which are described as follows. 1. restrict The value is a string […]
-
Time:2021-2-17
preface Generally speaking, we only consider version control when we need to change our API, but I don’t think we should wait until then to implement it. We should have a version strategy, which has been formulated since our application development, and we have been developing according to this strategy. In fact, we can control […]
-
Time:2021-2-16
The article is translated from:https://toddmotto.com/angular-1-5-lifecycle-hooksFor discussion, visit issue:https://github.com/Jocs/jocs.github.io/issues/3 Lifecycle hooks are simple functions that are called in the specific lifecycle of an angular application component. Life cycle hooks were introduced in angular 1.5, usually used with the. Component () method, and evolved in the following versions, including more useful hook functions (inspired by angular 2). […]
-
Time:2021-2-14
preface Spring MVC is a lightweight web framework that implements web MVC design pattern. Like the previous struts 2 framework, it belongs to MVC framework, because its use and performance are better than struts 2, so spring MVC is the mainstream MVC framework. First, briefly summarize the main features of spring MVC It is flexible […]
-
Time:2021-2-6
Background: Fuhong Hanlin project tries to write its own interface. According to the personnel ID, it obtains the position list in the database. It finds the back end and asks for Fuhong Hanlin’s project package. After the installation environment is running, it starts to write the interface Database: sqlserverLanguage: c#Framework: .net-framework The first step is […]