Skip to content

Commit c6ecdbc

Browse files
RTLRTL
authored andcommitted
updates
1 parent f130117 commit c6ecdbc

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

MyApp.zip

1.12 KB
Binary file not shown.

MysqlAndRedis/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ You are now ready to run the two LSP examples; navigate to:
8888

8989
**Note:** if you use WSL2, the Mako Server must also run on WSL2. It's possible to run the Mako Server on Windows, but you would need to set up a proxy using the netsh command. When using WSL2, you can use your browser on Windows, but do not navigate to localhost; navigate to the WSL2 IP address, which can be found by running the ipconfig command.
9090

91-
## Using the MySQL Driver
91+
## Using the Database Drivers
9292

9393
### Sockets in the Barracuda App server
9494

95-
Sockets within BAS operate in a blocking mode by default. Consequently, the drivers will use blocking socket calls unless they are encapsulated within a [ba.socket.event()](https://realtimelogic.com/ba/doc/en/lua/auxlua.html#ba_socket_event) call. It is important to note that blocking sockets should only be used within an LSP (Lua Server Page). The two LSP examples provided demonstrate the correct usage of blocking sockets. For any other cases, as previously discussed, it is imperative to wrap your code with a `ba.socket.event()` call, transforming the code execution into a non-blocking Cosocket operation.
95+
Sockets within BAS operate in a blocking mode by default. Consequently, the drivers will use blocking socket calls unless they are encapsulated within a [ba.socket.event()](https://realtimelogic.com/ba/doc/en/lua/auxlua.html#ba_socket_event) call. It is important to note that blocking sockets should only be used within an LSP ([Lua Server Page](https://realtimelogic.com/ba/doc/en/GettingStarted.html#LSPAndCSP)). The two LSP examples provided demonstrate the correct usage of blocking sockets. For any other cases, as previously discussed, it is imperative to wrap your code with a `ba.socket.event()` call, transforming the code execution into a non-blocking Cosocket operation.
9696

9797
### MySQL Persistent Database Connection Example
9898

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* [Authentication: Single Sign On](fs-sso) - Mitigating Security Vulnerabilities of Pre-Installed Passwords with Single Sign-On Solutions for Enhanced System Integrity
99
* [AJAX: For Beginners](AJAX)
1010
* [AJAX: Over WebSockets](AJAX-Over-WebSockets)
11-
* [Create an Awesome Interactive Dashboard App using AdminLTE](Dashboard)
1211
* [Create a light Interactive Dashboard App using Pure.css](Light-Dashboard)
1312
* [Dynamic Navigation Menu](Dynamic-Nav-Menu)
1413
* [Debug Lua](Lua-Debug) - How to Debug Lua Code Using Visual Studio Code
@@ -18,7 +17,9 @@
1817
* [IoT: MQTT Google Cloud](Cloud-IoT-Core) - Connecting to the Google MQTT Bridge
1918
* [ESP32 Microcontroller Examples](ESP32) - Examples designed for [Xedge32](https://realtimelogic.com/downloads/bas/ESP32/)
2019
* [MinnowSim](MinnowSim) - Source code for the tutorial [Your First Embedded Single Page Application](https://realtimelogic.com/articles/Your-First-Embedded-Single-Page-Application)
20+
* [MyApp.zip](MyApp.zip) - Ready to run example designed for the tutorial [Mastering Xedge Application Deployment: From Installation to Creation](https://realtimelogic.com/articles/Mastering-Xedge-Application-Deployment-From-Installation-to-Creation)
2121
* [SQL: SQLite Examples](SQLite) - Database examples
22+
* [SQL: MySQL and Redis Examples](MysqlAndRedis) - Database examples
2223
* [SQL: PostgreSQL Example](PostgreSQL) - Database example
2324
* [File Upload, including drag and drop](upload) - HTML based file upload
2425
* [WebDAV and Web-File-Server](File-Server) - Network drive and secure file sharing (example 1)

0 commit comments

Comments
 (0)