মূল কনটেন্টে যান
১৪ দিনের ফ্রি ট্রায়াল, কার্ড লাগবে না৯টি ভাষা১৭৬টি ব্যবসার ধরন · ৫০টি অ্যাপ
BN· USD
লাইভ ডেমো চালিয়ে দেখুনফ্রি ট্রায়াল শুরু করুন

Plugin SDK

Write a plugin: package layout, module.json, register() with hooks and filters, admin pages, settings, jobs, API routes, data and security, then test and pack it.

  • 7টি পাঠ
  • প্রায় 63 মিনিট

প্রথম পাঠ শুরু করুন

পাঠসমূহ

ডেভেলপার পাঠগুলো ইংরেজিতে লেখা: কোড, API-র নাম আর ফাইলের নাম সব জায়গায় ইংরেজিতেই থাকে।

  1. Plugin package layout and lifecycleThe folder a plugin lives in, what each file does, and what happens on preview, install, enable/disable and uninstall.প্রায় 8 মিনিট
  2. module.json referenceEvery manifest field: identity, permissions, sidebar entries, settings, jobs, hooks, filters, widgets, routes, schema, messages, tests and checksum.প্রায় 10 মিনিট
  3. register(): hooks and filtersHooks react after the fact and never break the caller; filters run before the fact and may change a value or veto an action.প্রায় 10 মিনিট
  4. Admin pages, permissions and settingsServer-component pages with permission guards, server actions that validate and log, and settings fields stored for you.প্রায় 9 মিনিট
  5. Scheduled jobs and plugin API routesJobs run from the maintenance tick; API routes are published under /api/plugins/<id> and must authenticate every call.প্রায় 8 মিনিট
  6. Data access and security rulespluginStore or an additive schema fragment, Prisma only, minor-unit money, and the nine security rules every plugin follows.প্রায় 9 মিনিট
  7. Create, test and pack a pluginScaffold with the create-module wizard, iterate in Module Studio, write check.ts, then validate, pack with a checksum and install.প্রায় 9 মিনিট