Comments (5)
Thanks so much Alan! Code generation is one of the topics that we identified to explain [better] in our PHP Developers Guide (currently titled Extension Developers Guide). Both conceptually and details such as you point out above; files created, what they do, how to treat them, etc. @xcomSteveJohnson can handle the CLI docs, and @tdobbs, can you capture this info in your draft topic on code generation?
Thanks again, Alan, we will get back with something for you to review.
from devdocs.
Hi Alan,
I'm sure that the documentation will be updated soon.
Currently SE compilation process consists of several steps (not ordered):
- Application code generation (Factories, Proxies, etc.)
- Area configuration aggregation (I.e. *.ser files are optimized DI
configurations per area, are needed for DI container to construct objects) - Interceptors generation (optimized code generation of interceptors)
- Interception cache generation (Aggregates plugin/interception
configuration in optimized way and puts it into Magento cache) - Repositories code generation (same sense as p.1 - it generates code for
API) - Service data attributes generation (Generates extension classes for data
objects)
You can find all major operations in
\Magento\Setup\Module\Di\App\Task\Operation namespace
from devdocs.
@astorm, we've added some information on code generation at http://devdocs.magento.com/guides/v2.0/extension-dev-guide/code-generation.html. Let us know if this addresses your issues with this topic--and especially let us know where it doesn't.
from devdocs.
Solid start -- I like it! The only thing i'd suggest is a better introduction or easing into "compiling" code. The anyone with a background in programming, the work "compile" usually means converting something like C code into executable machine code, or transforming a program written in one language into another. In Magento's unique world, "compiling" really means
- Generating any class files
- Performing optimization and creating serialized cache files to improve performance, etc. (those .ser) files.
Folks already in the Magento eco-system should be able to suss that difference out after reading through this page -- but folks new to Magento may be left scratching their heads. Submitted a pull request with some initial thoughts, (not heavily invested in the specifics -- feel free to run with it)
from devdocs.
I think we made the updates you suggest. Please reopen if that's not the case.
from devdocs.
Related Issues (20)
- Clarify requirements for upgrading services in Staging and Production HOT 1
- Upgrading PHP might require additional prep work HOT 2
- Advanced notice required for upgrading in a live Production site HOT 2
- Clarity around "....On macOS or Windows" on the "Synchronizing data in a Docker developer environment" doc HOT 2
- Sendgrid transactional email credits/limits HOT 3
- Varnish 7.0 already unsupported HOT 2
- Clear out confusions about prices in Magento 2 sales order items HOT 1
- MySQL version >= 8.0.29 is no longer compatible with Magento HOT 4
- Support documentation link about Command line tool doesn't work HOT 8
- Stop Geo Locate please. Make it disabled by default. HOT 5
- Link to ECE-Tools documentation is missing HOT 6
- Commando Line Tool link on magento loud panel HOT 2
- Missing changes in 2.4.6 HOT 3
- Add a page about adding layered navigation to custom product collections HOT 1
- Missing page for Need help adding keys? On Add SSH Key step HOT 3
- Wrong procedure in Magento Commerce Cloud Github integration HOT 2
- Tab attribute type reference not working on 2.4.x HOT 3
- div with classname "nav-container" is fixed abnormally HOT 2
- InsertListing UI Component should have a clear example of passing data from parent UI Component HOT 4
- FilterProcessor documentation is very specific and doesn't explain how it works generally HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devdocs.