Scaffolding, what is it? Is it a Rails-only thing?
相关问题
- Generate C code with Sympy. Replace Pow(x,2) by x*
- I have some questions about Sapper/Svelte
- C# .NET 4.0 Testing Framework?
- java.lang.ClassNotFoundException: org.jooq.util.Ja
- How to force Wicket “onchange” AJAX events to be t
相关文章
- LR.Java代码生成器,解放前后端生产力
- Generate Fortran subroutine with SymPy codegen for
- x86 instruction encoding tables
- Swift and Objective-c framework exposes its intern
- Anyone know about Rhomobile?
- State Machine Framework for JBoss/Java? [closed]
- ERROR: iPhone Private Frameworks “No such file or
- Instance of an interface without an implementation
From Wikipedia:
I believe that Wikipedia and some answers here provides a narrow and restricted view. Scaffolding is not just for CRUD operations on top of a database. Scaffolding has a broader objective to give you a skeleton app for any kind of technology.
Yeoman is a modern and useful tool for scaffolding. Using their own words:
That's it. Use scaffolding to create a quick-start application to work as an example or the foundation of your solution. It makes you productive faster them building things from scratch.
it creates a basic layout from some predefined code which programmers uses in almost every project , Eg: for database data access it can make a crud method for create, read, update, delete operations OR you might use it to create layout for your View/Html Code
Just like a real scaffolding in a building construction site,
scaffolding
gives you some kind of a (fast, simplified, temporary) structure for your project, on which you can rely to build the real project.It can be (and is today) used to describe many things - from abstracting DB layers, to web apps folder structures, and to generating and managing project dependencies .
It is not something that is specific to any language / technology, just like the term
skeleton
orboilerplate
is platform agnostic.It is just a term borrowed from real scaffolding (like mentioned above). You build some fast, simplified, (sometimes external, sometimes temporary) structure that will help you to build the real, more complex, finalized structure under, above, inside or outside of that temporary structure .
.. And just like the real scaffolding, the scaffolding structure is meant to support the building process of the project, rather than the project itself (with some exceptions).
Scaffolding generally refers to a quickly set up skeleton for an app. It's not rails-only since other platforms have it as well. It's also not generally meant to be a "final" system; merely the first, smallest way to do it.
Scafolding is usually some type of code generation where you point it at a database, and the technology creates basic CRUD (create, read, update, delete) screens.