Starting from this section, we will start our DSL journey. First, make sure that you have installed the Visual Studio SDK and use Visual Studio 2008. we will first create a simple DSL project to understand the DSL development environment and process.
1. open. net, new -- Project, click another project type -- extensibility ). the following lists the projects of
Bulk modification Zencart Commodity price is nothing more than the following: one on the original base on the volume of a certain proportion of the original price of the batch into a new price for the first case, many people on the net have given the solution:
Bulk modification of Zencart commodity prices there are only a few cases:On the original basis on the volume of a certain proportion of the two will be the original price for a new price for the first case, many people on the
DSL Concept
Martin FowlerDefines a domain-specific language (DSL) as "a computer language that's targeted to a particle kind of problem, rather than a general purpose language that's aimed at any kind of software problem"
Domain-specific agesAren't a new idea by any means. dsls have been around since long before the start of computing. People have always developed specialized
Vocabularies for specializ
Set DSL connection manually in Ubuntu, and set dsl manually in ubuntu
After installing Ubuntu, I found that the DSL connection of the graphic interface was useless and I was depressed for several days. I think it would be a waste of 120 hours of mobile traffic every month. Just as I wanted to return to the Windows system, I found a good way to manually set up a c
Give a string, ask there are several ways to delete characters so that the deleted non-empty string is a palindrome string.Of course the interval dp:DP[I][J] Indicates the number of STRI...STRJ of the substringFeel bad transfer, may repeat forget. I hand over the "AAA" this data, and then the way to move:D[I][J] =∑d[i '][j ']+1 (iThis interval DP is the same as the classical example of adjacent stones, enumeration length and then the lifting point, so as to ensure the topological order of the co
Gradle DSL method not found: ' Runproguard () ' ErrorThis error occurs because in the new version of Gradle, the Runproguard () method has been discarded and replaced by minifyenabled, So just change the runproguard in the Build.gradlew file under each module to minifyemabled. Such as:Gradle DSL method found: ' Android () ' ErrorAs with the last error, this is also because the Android () method has been dep
Example of JavaScript DSL fluent interface (called using a chain), dsl chain
After carefully studying DSL for a while, I found that one of the most interesting things in JavaScript is probably chained call (Method chain, that is, Method Chaining ). Interestingly, Martin Flower points out:Copy codeThe Code is as follows:I 've also noticed a common misconception-pl
The previous section describes the graphical symbols of vs.net DSL, including charts, editors, and shapes. in this section, we will look at the relationship between a single symbol and metadata. How are they mapped together.Model Elements are represented by shapes, while domain relationships are represented by connectors. graphical ing defines that model elements are visually represented by shapes, while connector ing defines how links are visually re
what is development in specific fields and DSL development in specific fields is used to solve repeated problems, summarize and analyze each problem to solve the same problem at one time. frequently changing aspects can be expressed in a special language. for this special language, we can create a model or expression and insert it to a fixed part. for our solutions in the software industry, the fixed part adopts the traditional design and implemen
ArticleDirectory
One Language
DSL content
DSL Architecture
Advantages of DSL applications
Styles)
Application scenarios
Books
Model-driven development (MDD), software factory, and domain-specific modeling (DSM) are all highly abstract development methods, the languages used by these methods are specific domain languages (
Microsoft started to provide DSL in vs2005sdk, and also published a book dedicated to writing Visual Studio DSL. This book details the DSL content, in the current environment where there are few DSL books, it is good to have such a book for reference.
I have read this book a few years ago. Since I recently began to c
Groovy language is most proud of the characteristics of the DSL, the definition of DSL and classification, advantages, etc., it is not to be elaborated in this article, you can access the Internet, there is a large number of this convenient introduction. The groovy language is a great way to design your internal DSL, and in this context, my Groovy Discovery serie
In the previous sections, we introduced some basic knowledge about vs.net DSL with the default project we created, including domain classes, domain relationships, graphical symbols, and graphic ing, these things may seem abstract and have no direct relationship with the requirements described in section 2, but these concepts must be mastered before developing our own DSL. If you are not familiar with the re
After the installation of Ubuntu, found that the GUI connection of the graphical interface no matter how, depressed for several days, think about moving 120 hours a month of traffic is not wasted. Just when I wanted to return to the Windows system, I found a good way to manually set up a DSL, thanks to the author of the Notes of frozen kernels (I think it is called frozen benevolence bar), the following is the detailed method.0x00: Install pppoeconfsu
Http://tech.ddvip.com/2008-12/1229654190101204.html
The basic idea of domain specific language/DSL is "Seeking for specialization", which does not cover all software problems as the general target language does, it is a computer language dedicated to a specific problem. DSL was originally and ultimately a dream for programmers, just as January 1. People have been talking about
WiMAX is called World Interoperability for Microwave Access, that is, global Microwave Access Interoperability. As a wireless MAN technology, WMAN is a new air interface standard for microwave and millimeter wave frequencies. It is used to connect 802.11a Wireless Access hotspot to the Internet, or connect the company and the home environment to the wired backbone line. It can be used as a wireless extension technology for cables and DSL, known as "wi
Software factory + DSL: Microsoft's answer to MDA
Stephen swoyer
[2004/12/1]Two years ago, OMG launched MDA and used UML to automate software integration from applications, middleware, or custom components. Thomas Murphy, vice president of the Meta Group, a consultancy, believes that, to some extent, the concept of a software factory and a domain specific language (DSL)
Currently in the traditional software development domain DSL has been more common, especially Martin Fowler's outstanding contributions. But in the front-end area is still less involved, and if the use of DSL in front-end development can also effectively reduce the number of code, improve readability . A common scenario is the building of a front-end template, which is essentially a micro-language, so you c
It was originally considered to be only a well-known attack Method Targeting websites. It can also be found to be applied to consumer-level network devices. NathanHamiel, founder of HexagonSecurityGroup, found that Cross-SiteRequestForgery (CSRF, Cross-Site Request Forgery) is also available on most domestic DSL routers.CSRF is not a new technology. As early as 1988, normhard discovered an application trust problem called confuseddeputy )". Both CSRF
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.