my_app/
├── backend/ # Backend application (Flask)
│ ├── app.py # Main application setup and route definitions
│ ├── api/ # API layer for handling external API interactions
│ │ ├── soap_client.py # SOAP client setup and Kareo API interactions
│ │ ├── controllers.py # Endpoint definitions for API interactions
│ │ └── auth_controller.py # Authentication endpoints (login/logout)
│ ├── services/ # Business logic and service layer
│ │ ├── services.py # Business logic for handling data operations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Okay */ | |
home_url() | |
/* Much better */ | |
home_url( '/' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Escape translated strings with: | |
*/ | |
__( ‘Hello world’, ‘text-domain’ ); _e( ‘Hello world’, ‘text-domain’ );. | |
/** | |
* If there is no HTML use: | |
*/ | |
esc_html__( ‘Hello world’, ‘text-domain’ ); esc_html_e( ‘Hello world’, ‘text-domain’ ); |