J4.x

Developing an MVC Component/Introduction/pl: Difference between revisions

From Joomla! Documentation

Created page with "Ten samouczek nauczy Cię, jak stworzyć komponent dla Joomla 4.x. Komponent to rodzaj rozszerzenia Joomla, które udostępnia użytkownikowi własne strony, zamiast rozszerza..."
Created page with "Komponenty Joomla są podzielone na dwie główne części: część administratora i część witryny. Część administratora zapewnia interfejs do zarządzania komponentem,..."
Line 8: Line 8:
Ten samouczek nauczy Cię, jak stworzyć komponent dla Joomla 4.x. Komponent to rodzaj rozszerzenia Joomla, które udostępnia użytkownikowi własne strony, zamiast rozszerzać istniejącą zawartość. Komponent jest najpotężniejszym typem rozszerzenia Joomla, zdolnym do dodania dużej ilości nowych funkcji do witryny.
Ten samouczek nauczy Cię, jak stworzyć komponent dla Joomla 4.x. Komponent to rodzaj rozszerzenia Joomla, które udostępnia użytkownikowi własne strony, zamiast rozszerzać istniejącą zawartość. Komponent jest najpotężniejszym typem rozszerzenia Joomla, zdolnym do dodania dużej ilości nowych funkcji do witryny.


<div lang="en" dir="ltr" class="mw-content-ltr">
Komponenty Joomla są podzielone na dwie główne części: część administratora i część witryny. Część administratora zapewnia interfejs do zarządzania komponentem, a część witryny zapewnia strony żądane przez użytkowników odwiedzających witrynę. W tym poradniku dowiesz się, jak zbudować obie części.
Joomla components are split into two main parts: an administrator part and a site part. The administrator part provides an interface to manage the component, and the site part provides the pages requested by users visiting the website. This tutorial will teach you how to construct both parts.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 18:38, 23 January 2024

Joomla! 
4.x
>Tutorial
Tworzenie komponentu MVC dla Joomla 4.x



Ten samouczek nauczy Cię, jak stworzyć komponent dla Joomla 4.x. Komponent to rodzaj rozszerzenia Joomla, które udostępnia użytkownikowi własne strony, zamiast rozszerzać istniejącą zawartość. Komponent jest najpotężniejszym typem rozszerzenia Joomla, zdolnym do dodania dużej ilości nowych funkcji do witryny.

Komponenty Joomla są podzielone na dwie główne części: część administratora i część witryny. Część administratora zapewnia interfejs do zarządzania komponentem, a część witryny zapewnia strony żądane przez użytkowników odwiedzających witrynę. W tym poradniku dowiesz się, jak zbudować obie części.

For a more detailed overview of Components and the Model-View-Controller design pattern they use, please see the Component Basics Guide. However, please be aware that the specific file structure, naming standards and code detailed in the guide relate to Joomla 3.x, and should be ignored for the purposes of this tutorial.

Requirements

You will need to have Joomla 4.x for this tutorial. Developing for Joomla 4.x requires:

  • A minimum PHP version of 7.2.5 to be installed
  • Composer, to manage PHP dependencies
  • NodeJS version 10 or above, to manage front-end dependencies
  • A MySQL database of version 5.6 or above or
  • A PostgreSQL database of version 11 or above
  • The Git version control system

If you have not set up a local development environment, you will need to do so before attempting this tutorial. To set up your local development environment, please consult the Local Environment Guide.

Migrating from Joomla 3.x

For the majority of cases, migrating from Joomla 3.x to 4.x is a straightforward process. Most of the changes needed are naming/namespacing changes and moving files around. This author intends to create a migration guide once this tutorial is complete, which will be linked here.

Contributors