词条 | Yeoman (software) |
释义 |
| name = Yeoman | title = Yeoman | logo = Yeoman.svg | logo size = 100px | screenshot = | caption = | collapsible = | author = | developer = | released = | discontinued = | latest release version = 1.1.2 | latest release date = | latest preview version = | latest preview date = | frequently updated = | programming language = HTML, CSS, JavaScript | platform = Mac OS X, Linux, Windows | size = | language = | status = | genre = Web development tool | license = BSD[1] | website = {{URL|http://yeoman.io}} }} Yeoman is an open source client-side scaffolding tool for web applications. Yeoman runs as a command-line interface written for Node.js and combines several functions into one place, such as generating a starter template, managing dependencies, running unit tests, providing a local development server, and optimizing production code for deployment. Yeoman was released at Google I/O 2012. OverviewYeoman combines several open source tools in an attempt to streamline many aspects of the web development process. Using a "generator" concept inspired by Ruby on Rails,[2] Yeoman first creates a basic project structure with vendor libraries included. The most basic Yeoman generator supplies the HTML5 Boilerplate, Normalize.css, the jQuery JavaScript library, and Modernizr as a basic template for developers. Yeoman also runs interactively, asking the developer if they would like additional components such as Twitter Bootstrap or RequireJS (a library to support Asynchronous Module Definition) included. More sophisticated generators exist, such as ones which scaffold out a client-side MVC (Model-View-Controller) framework, such as the AngularJS or Backbone JavaScript libraries. Yeoman is meant to be modular such that anyone can design a generator to create a template for a particular type of project.[3] Beyond providing a template to scaffold projects, Yeoman also helps with intermediary phases of web application development. Yeoman lints code for potential problems using JSHint, runs unit tests, and provides a development server for working on an application. Finally, Yeoman also offers a build automation process featuring optimizations such as minification and concatenation of script files. All of these features use pre-configured tasks for the Grunt JavaScript task runner. Yeoman is an open source project whose code is hosted on GitHub.[4] Some of the primary contributors are on the Google Chrome Developer Relations team, such as Addy Osmani, Paul Irish, and Eric Bidelman.[5] See also{{Portal|Free and open-source software}}
References1. ^{{cite web | url=https://github.com/yeoman/yeoman#license | accessdate=8 December 2012|title=Yeoman License - Github}} 2. ^Osmani, Addy. July 3rd, 2012. "[https://www.youtube.com/watch?v=NLjSTA9Pj3k Saving Time With Rails-Inspired Generators Yeoman Generators]." 3. ^yeoman.io, "Generate a Generator." Accessed July 30, 2013. 4. ^{{cite web | url= https://github.com/yeoman/yo| accessdate= 26 January 2014| title=yeoman/yo}} 5. ^{{cite web|url=https://github.com/yeoman/yo/graphs/contributors|accessdate=26 January 2014|title=Contributors to yeoman/yo}} External links
6 : HTML|JavaScript programming tools|JavaScript libraries|Web development software|Software using the BSD license|2012 software |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。