请输入您要查询的百科知识:

 

词条 M Sharp
释义

  1. Name

  2. Syntax

  3. References

  4. External links

{{Notability|date=May 2013}}{{Use British (Oxford) English|date=December 2011}}{{Correct title| title = M#|reason=#}}{{Infobox programming language
|name = M#
|logo =
|designer = Geeks ltd.
|developer = Geeks ltd.
|paradigm = multi-paradigm: structured, object-oriented, event-driven, procedural, meta
| year = 2012
|latest release version =
|latest release date =
|implementations = Visual C#, .NET Framework, ASP.NET, Domain-specific language
|typing = static, dynamic
|versions =
|influenced_by =
|influenced =
|dialects =
|platform =
|license = proprietary
|file_ext =
|website = http://www.msharp.co.uk/
}}M# (pronounced em sharp) is a code generation tool and a domain-specific language that can be used to create websites and web applications.[1] It can translate entities and page definitions to ASP.NET Web Forms and C# code which in turn form the user interface and business logic layer of the application. Its main goals are to reduce time of development, increase code quality, and reduce human errors.[2]

Name

M# generates codes that is mainly in the C# programming language. Because the "sharp" suffix has been used by a number of other .NET languages, M# followed the same convention.[3]

Syntax

M# uses its own IDE, which is a web-based application. Inside that, a user can type, select from suggestions (Intelli-sense), or use the mouse to define the entities or user interface modules.[4] An example would be a form module that has two buttons (Cancel and Save) and displays a Key and a Text field. The Key field is read-only and the Save button adds a content block to the database:

Internally, M# keeps this module definition as an JSON file. At the time of a build, it will generate C#, ascx, and ascx.cs files. From that moment, XML or M# is not necessary to render the module or to be installed on the machines that will serve the page.

New versions of M# are integrated with Microsoft Visual Studio.

References

1. ^{{cite news|title=The end of offshoring?|url=http://business-reporter.co.uk/2012/11/the-end-of-offshoring/|newspaper=Business Reporter|deadurl=yes|archiveurl=https://web.archive.org/web/20130310015719/http://business-reporter.co.uk/2012/11/the-end-of-offshoring/|archivedate=2013-03-10|df=}}
2. ^{{cite web|title=Why M#?|url=http://www.msharp.co.uk/Economic.html|accessdate=18 May 2013}}
3. ^{{cite conference |url=http://www.codegeneration.net/cg2011/sessioninfo.php?session=27 |title=Modelling languages for the "Solution Domain"; Productivity rules! |year=2011 |conference=Code Generation }}
4. ^{{cite web |url=http://www.msharp.co.uk/Learn/Understanding-MSharp.html |title=Understanding M# |accessdate=26 May 2013}}

External links

  • {{Official website|http://www.msharp.co.uk/Home.html}}

4 : High-level programming languages|Visual programming languages|XML-based programming languages|Domain-specific programming languages

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/24 14:21:42