SmarMaker - Documentation
Docs» en:back:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:back:start [2025/09/03 14:43] – Automatic translation caprelen:back:start [2026/02/04 23:19] (current) – external edit 127.0.0.1
Line 9: Line 9:
   * ''smartmaker-api'' the folder in which you will store the php controllers and mappers for your objects, which will be accessible via the api.php router in the ''pwa''   * ''smartmaker-api'' the folder in which you will store the php controllers and mappers for your objects, which will be accessible via the api.php router in the ''pwa''
  
-As well as a file ''smartmaker-api-prepend.php'' file, which is used to factorise code and avoid overly verbose php headers. +As well as a file ''smartmaker-api-prepend.php'' which is used to factorise code and avoid having php headers that are too verbose.
 ##Mapping dolibarr <-> react application ##Mapping dolibarr <-> react application
  
-Dolibarr objects can't be directly transposed into react, so we've developed a mapping system that allows you to map dolibarr objects to their react equivalent.+Dolibarr objects can't be directly transposed into react, so we've developed a mapping system that matches dolibarr objects with their react equivalent.
  
 Each dolibarr class that needs to be mapped can be mapped using a set of fine-tuned techniques, details of which can be found below. Each dolibarr class that needs to be mapped can be mapped using a set of fine-tuned techniques, details of which can be found below.
Line 21: Line 20:
 If your module provides a SmartInter object, for example, you can map its fields to react simply by implementing a dmSmartInter file. If your module provides a SmartInter object, for example, you can map its fields to react simply by implementing a dmSmartInter file.
  
-More details on the [[mapping dolibarr <ignore><-> react</ignore>]]+More details on the [[back:mapping_dolibarr_-_react]]
  
 ##api.php file ##api.php file
Made with ❤ by CAP-REL · SmartMaker · GNU AGPL v3+
Code source · Faire un don
SmarMaker - Documentation

Table of Contents

  • SmartAuth
  • SmartMaker - Back (PHP)
    • Mapping Dolibarr - React
  • SmartMaker - Front (React)
    • Animations de pages
    • Architecture
    • Astuces
    • Calendar
    • Composants et pages
    • Configuration du Provider
    • Debug et Logs
    • Hooks SmartCommon
    • PWA (Progressive Web App)
    • Requêtes API
    • Routage
    • SmartCommon
    • Stockage de données
    • Synchronisation offline
    • Thèmes
    • Traductions
  • HowTo - Pas à pas - Votre première application
    • Développement PHP (back)
    • Développement React (front)
    • Première étape : Module Builder Dolibarr
    • SmartAuth
    • SmartBoot : Un squelette prêt à l'emploi
  • Formation SmartMaker
    • Module 1 : Fondamentaux JavaScript ES6+
      • Chapitre 1 : Variables et Scope
      • Chapitre 2 : Fonctions
      • Chapitre 3 : Programmation Asynchrone
      • Chapitre 4 : Modules ES6
    • Module 2 : Introduction à React
      • Chapitre 1 : Philosophie React
      • Chapitre 2 : JSX
      • Chapitre 3 : Composants
    • Module 3 : Hooks React Fondamentaux
      • Chapitre 1 : useState
      • Chapitre 2 : useEffect
      • Chapitre 3 : useRef
      • Chapitre 4 : useContext
    • Module 4 : React Avancé
      • Chapitre 1 : useCallback et useMemo
      • Chapitre 2 : Custom Hooks
      • Chapitre 3 : Redux et Redux Toolkit
    • Module 5 : Architecture SmartMaker
      • Chapitre 1 : Structure du projet
      • Chapitre 2 : Configuration
      • Chapitre 3 : Flux de données
    • Module 6 : SmartCommon - Composants
      • Chapitre 1 : Mise en page
      • Chapitre 2 : Navigation
      • Chapitre 3 : Formulaires
      • Chapitre 4 : Affichage
    • Module 7 : SmartCommon - Hooks
      • Chapitre 1 : useApi
      • Chapitre 2 : Gestion d'état
      • Chapitre 3 : Hooks utilitaires
      • Chapitre 4 : Synchronisation Offline
    • Module 8 : Backend API (PHP)
      • Chapitre 1 : Routage
      • Chapitre 2 : Controllers
      • Chapitre 3 : Mappers
      • Extrafields et formulaires dynamiques
    • Module 9 : Intégration complète
      • Chapitre 1 : Backend
      • Chapitre 2 : Frontend
      • Chapitre 3 : Déploiement
    • Module 10 : Fonctionnalités avancées
      • Chapitre 1 : Mode offline
      • Chapitre 2 : Internationalisation (i18n)
      • Chapitre 3 : Autres fonctionnalités
    • Module 11 : Bonnes pratiques
  • Démonstration
  • Start
  • Composants et pages