1) Access Control Filters (ACF)
ACF controller actions पर सुरक्षा लगाता है ताकि कौन user क्या access कर सकता है ये तय हो।
TutorialsPoint की तरह: simple rule-based allow/deny system।
Official doc की तरह role/user आधारित permissions।
2) RBAC (Role-Based Access Control)
यह roles → permissions की hierarchy बनाकर access control देता है।
DynamicDuniya की तरह: admin, editor, user जैसे roles सेट करके control।
Official doc की तरह database में roles-permissions mapping रहती है।
3) RESTful APIs (Yii2 REST)
Yii2 REST controller JSON format में API response देता है।
TutorialsPoint जैसा: index, view, create, update, delete ready-made actions।
Official doc की तरह serializer, formatter और behaviors auto-manage होते हैं।
4) Asset Bundles
CSS/JS को एक group (bundle) में manage और load करने का तरीका।
DynamicDuniya style: सारे CSS/JS एक जगह से control।
Official doc: publish, register और dependency handling auto होता है।
5) Modules
Application को छोटे sub-apps में बाँटने का तरीका।
TutorialsPoint जैसा: admin module, api module, user module अलग-अलग।
Official docs: controller, models, views सभी module में isolate रहते हैं।
6) Migrations
Database schema को version control के साथ manage करना।
DynamicDuniya जैसे: yii migrate चलाओ, DB structure update।
Official doc: safeUp/safeDown DB को rollback भी कर सकते हैं।
7) Widgets
Reusable UI components जैसे GridView, ListView, ActiveForm।
TutorialsPoint की तरह HTML को आसान बनाते हैं।
Official docs: props, events और data provider से जुड़े रहते हैं।
8) Internationalization (i18n)
App को multi-language (Hindi, English आदि) में चलाने की system।
DynamicDuniya style: Yii::t() से translation auto।
Official docs: message files (PHP/JSON) load होते हैं।
9) Testing (Codeception)
Yii2 app को test करने का official तरीका।
TutorialsPoint style: unit, functional, acceptance tests आसान।
Official docs: fixtures, mocks और testing environment auto-set होता है।
✅ अब पूरा A–Z List (हर टर्म 2–3 लाइनों में • आसान हिंदी)
नीचे आपके पूरे A–Z list को मैंने DynamicDuniya + TutorialsPoint + Yii Docs के blend में सबसे आसान भाषा में बदला है।
🅰️ A — Simple Hindi (2–3 lines)
Active Record (AR)
DB table को PHP class की तरह इस्तेमाल करने की सुविधा।
Select, Insert, Update सब methods से हो जाते हैं।
Active Data Provider
GridView/ListView के लिए data को paginate और sort करने वाला tool।
ACF (Access Control Filter)
Controller actions पर allow/deny rules लागू करता है।
Access Rules
User किस action को चला सकता है यह define करता है।
Actions
Controller के अंदर methods जो HTTP request handle करते हैं।
Aliases
Short paths जैसे @app, @web ताकि long path याद न रखना पड़े।
Asset Bundles
CSS/JS files को एक bundle में manage करने की system।
Asset Manager
Assets को publish, combine और cache करने वाली system।
API (RESTful)
Yii REST controllers auto JSON response देते हैं।
Application Components
Core services – db, request, response, user, session आदि।
Application Config
config/web.php या console.php में settings define होती हैं।
ActiveForm
Auto validation और form creation का आसान widget।
Authentication
User login करके कौन है यह verify करना।
Authorization (RBAC)
User क्या कर सकता है (permissions) यह define करना।
ArrayHelper
Arrays को sort, merge और pick करने के shortcuts।
Attribute Labels
Model fields के लिए readable names।
🅱️ B — Simple Hindi
Base Controller
सभी controllers की parent class — common features देती है।
Behavior
Reusable code जो किसी class में extra features जोड़ता है।
Bootstrap Components
App start होने पर auto-load होने वाले components।
Breadcrumbs
Page navigation दिखाने वाला छोटा UI widget।
Basic Template
Yii2 का simplest starter structure।
Batch Insert/Query
Multiple rows एक साथ insert या fetch करना।
Built-in Validators
ready-made rules जैसे required, email, unique।
🅲 C — Simple Hindi
Caching
Performance बढ़ाने के लिए data को temporary store करना।
Components
Reusable services जो app में कहीं भी use हो सकते हैं।
Configuration
App सेटिंग्स (params, components, aliases) define करना।
Console Commands
Migrations, queue, serve आदि CLI commands।
Controller
Request को process करके view दिखाता है।
CRUD
Create, Read, Update, Delete — basic DB operations।
CSRF Protection
Cross-site attack से form security।
Cookies & Sessions
User-specific temporary storage।
Custom Validators
आपके खुद के validation rules।
🅳 D — Simple Hindi
Data Provider
Grid/ListView के लिए sorted, paginated data देता है।
Database Connection
Yii::$app->db database से जुड़ने का bridge।
Migration
Database schema change(auto version control)।
Debug Toolbar
Live debugging tool — queries, logs, timings दिखाता है।
Dependency Injection (DI)
Classes को loosely connect करना ताकि code clean रहे।
Dynamic Forms
AJAX से dynamic form fields जोड़ना/हटाना।
🅴 E — Simple Hindi
Events
कोई action होने पर auto trigger होने वाली system।
Event Handler
Event पर चलने वाला function।
Error Handling
Errors पकड़ना और friendly message दिखाना।
Email (Mailer)
SMTP या file transport से email भेजना।
Eager Loading
Related models को एक ही query में load करना।
Extensions
Yii की extra features देने वाले packages।
Environments
dev, test, prod settings अलग-अलग।
🅵 F — Simple Hindi
Filters
Action से पहले/बाद में चलने वाला security या logic।
Form Validation
User input की checking system।
Formatter
Dates, currency, numbers को format करना।
Flash Messages
Temporary message (success/error) show करना।
File Uploads
User files को server में upload करना।
Fixtures
Testing के लिए fake sample data।
🅶 G — Simple Hindi
Gii
Auto model, controller, CRUD generate करने का tool।
GridView
Data को table में दिखाने वाला widget।
Global Params
Yii::$app->params से global values access होती हैं।
Get/Post Data
Yii::$app->request->get() या post() से input लेना।
🅷 H — Simple Hindi
Helpers
Html, Url, Array, File जैसी ready functions वाली classes।
HTML Encoding
Output को safe बनाने के लिए encode करना।
HTTP Request/Response
Client request लें → Response भेजें।
Hashing
Passwords को secure way में encrypt करना।
🅸 I — Simple Hindi
Identity Interface
Login user को पहचानने का official तरीका।
Internationalization (i18n)
App को multi-language में run करना।
Inline Validators
Model में छोटे custom validate methods।
Init()
Component load होते ही चलने वाला method।
🅹 J — Simple Hindi
JSON Response
asJson() से API output JSON में भेजना।
Join With
Relations join करके data लाना।
JavaScript Registration
$this->registerJs() से custom JS load करना।
🅺 K — Simple Hindi
Kartik Widgets
Yii के advanced UI widgets (Select2, DatePicker)।
Key Concepts
MVC + Component architecture + AR + Events।
🅻 L — Simple Hindi
Layouts
सभी views को wrap करने वाला common template।
Localization (L10n)
Region-specific formatting (date, number)।
Logging
Errors और info messages को file या DB में store करना।
Lazy Loading
Related data जरूरत होने पर ही load होता है।
🅼 M — Simple Hindi
Models
DB data + business logic।
Migration
DB schema create/update करने का तरीका।
Modules
App को छोटे independent sections में divide करना।
Mailer
Email भेजने वाला component।
Mutators/Accessors
Model attributes के getter/setter methods।
Model Scenarios
Validation rules को अलग context पर apply करना।
🅽 N — Simple Hindi
Namespaces
Code को folders की तरह logically group करना।
NavBar/Nav
Navigation menu widgets।
Nested Queries
Queries के अंदर queries चलाना।
🅾️ O — Simple Hindi
ORM
DB rows को PHP objects की तरह use करना।
Observers
Events पर auto-run होने वाली logic।
Output Filters
Content को sanitize करना (XSS safe)।
🅿️ P — Simple Hindi
Pagination
Data को छोटे pages में divide करना।
Pjax
Partial page reload (faster UI)।
Pretty URLs
index.php हटाकर clean URLs बनाना।
🆀 Q — Simple Hindi
Query Builder
PHP methods से SQL queries बनाना।
Query Caching
DB results को cache करके fast load करना।
🆁 R — Simple Hindi
Request Component
User request data (headers, post, get, files)।
Response Component
Output format — HTML, JSON, XML।
Routing (URL Manager)
URLs को correct controller/action से map करना।
🆂 S — Simple Hindi
Security Component
Hashing, encryption, CSRF, validations।
Scenarios
Different use-cases के लिए custom rules।
Session
User-specific temporary storage।
Search Model
Search + filter logic वाला model।
🆃 T — Simple Hindi
Transactions
Multiple DB queries को atomic बनाना।
Theming
App का design/theme बदलना।
Timestamp Behavior
Auto created_at/updated_at set करना।
🆄 U — Simple Hindi
URL Manager
Clean URLs और routing rules manage करता है।
User Component
Login/logout, identity, roles।
UploadFile
File upload + validation class।
🅅 V — Simple Hindi
Validation Rules
User input की checking rules।
Verb Filter
Action को GET/POST methods तक limit करना।
View
Data को HTML में दिखाने वाला part।
🆆 W — Simple Hindi
Widgets
Reusable UI parts जैसे GridView, ListView।
WebUser
Current logged-in user object।
🆇 X — Simple Hindi
XML Response
API का XML format output।
XSS Prevention
Html::encode() से unsafe content साफ़ करना।
🆈 Y — Simple Hindi
Yii Class
Yii::$app, Yii::t(), Yii::getAlias() जैसी static helpers।
🆉 Z — Simple Hindi
Zero Configuration
Yii conventions से minimal configuration में काम चल जाता है।
Comments
Post a Comment