Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 16 online users. » 0 Member(s) | 15 Guest(s) Bing
|
Latest Threads |
User authentication: lost...
Forum: Getting Started
Last Post: stamatis
04-22-2025, 07:03 PM
» Replies: 18
» Views: 39,275
|
"Manage Emails" - changin...
Forum: Bug Reports
Last Post: stamatis
04-22-2025, 03:56 PM
» Replies: 1
» Views: 499
|
CDB will not load in Live...
Forum: General
Last Post: stamatis
04-16-2025, 03:11 PM
» Replies: 0
» Views: 261
|
using cdb_auth with Live...
Forum: General
Last Post: JereMiami
12-19-2024, 01:58 AM
» Replies: 0
» Views: 717
|
BLOBs - not possible to a...
Forum: General
Last Post: stamatis
10-06-2024, 06:28 PM
» Replies: 0
» Views: 687
|
Allow users to change the...
Forum: General
Last Post: mark_talluto
01-18-2024, 01:09 AM
» Replies: 8
» Views: 14,155
|
cdb_sendEmail
Forum: General
Last Post: mark_talluto
11-07-2023, 09:57 PM
» Replies: 0
» Views: 1,039
|
cdb_sync & cdb_lookupvalu...
Forum: General
Last Post: mark_talluto
11-07-2023, 09:45 PM
» Replies: 1
» Views: 1,871
|
cdb cdb_sendEmail
Forum: Bug Reports
Last Post: JereMiami
10-05-2023, 01:57 PM
» Replies: 0
» Views: 2,191
|
LCM: "Please inform Canel...
Forum: General
Last Post: mark_talluto
07-12-2023, 07:58 PM
» Replies: 24
» Views: 31,435
|
|
|
LiveCode Server information |
Posted by: jasonchan - 05-09-2019, 05:53 PM - Forum: Announcements
- Replies (5)
|
 |
Some of you have asked about LiveCloud with LiveCode Server.
Here is how you can set it up.
We are not using this currently so we are not sure about the limitation nor the performance.
Please feel free to share your experience here for the community.
We will love to hear any new tricks you discover integrating LiveCloud with LiveCode Server or new methods connecting LiveCloud and web server.
Requirements:
The LC server needs to be on a Linux system.
The LC server needs to be on indy/professional license. It will not work with community.
You need to include externals "mergJSON" and "tsNet". You can do this by adding "mergJSON-x64.so" and "tsNet-x64.so" to the LiveCode Server externals folder.
Make a file named "cdb.lc" and paste the below code in it. Don't forget to change the authKey to your authKey. You can find it in your LCM.
You will also need to put 'require "cdb.lc"' into your other .lc files that need to access database.
Code: <?lc
global gCDBAuthKey
--Code to startup cassiaDB
wait 0 milliseconds with messages
#####
#####PUT YOUR AUTH KEY HERE (FOUND IN THE INITIALIZATION SCRIPT)
put "802dfa0ef7cc4514b5142a98914e4b66" into gCDBAuthKey
#####
#####
put "<br><br>starting loading CanelaDB...<br>"
put $_Server["PATH_TRANSLATED"] into tServerPath
set itemdel to slash
delete item -1 of tServerPath
try
put "/CanelaDB/libraries" after tServerPath
start using stack (tServerPath & "/CDB_Header.lib")
start using stack (tServerPath & "/CDB_Starter.lib")
catch tError
put "<br> CanelaDB could not be loaded. Error: <br>"& tError & "<br><br>"
exit to top
end try
put cdb_auth("user@email.com","yourpasswordgoeshere","user") #NEEDED FOR "CLOUD" DATA
cdb_loadTable
?>
|
|
|
Changing Regions |
Posted by: mkakeshyft_tom - 05-09-2019, 03:14 PM - Forum: General
- Replies (1)
|
 |
Good morning, I am an excited new user of livecloud and in my excitement I did not change the region to the one i wanted before I clicked "create account"
I'd like to change to Toronto instead of San Fran..... the email for the account is tom@makeshyft.com
Thanks, this looks like a really great service to make my life easier.
|
|
|
LiveCloud Tutorial |
Posted by: jasonchan - 05-07-2019, 07:27 PM - Forum: Announcements
- No Replies
|
 |
We are working with LiveCode to provide you useful tutorials of LiveCloud!
In this video, you can see how easy it is to import your data using a csv file.
You will also learn how to generate the LiveCode script to communicate with LiveCloud using LiveCloud Manager.
|
|
|
About Web access |
Posted by: simon.schvartzman - 05-07-2019, 10:11 AM - Forum: General
- Replies (16)
|
 |
Hi, I haven't put my "keyboard" on Livecloud yet so maybe this is very basic/dumb question (sorry if it is):
What would be the "preferred" tool to access the DB from the WEB? Just to make myself clear let's say I have a mobile App posting data using Livecloud and I would like to have a WEB based platform for reporting and/orupdating which way should I go?. I undertand I could use Livecode HTML version but that would imply in a significant investment. Are there any other (easy/ versatile, cheaper) options?
Many thanks in advance.
Regards
|
|
|
Live Cloud Manager (missing label) |
Posted by: Paul - 04-26-2019, 08:21 PM - Forum: Bug Reports
- Replies (2)
|
 |
When creating fields the drop down menu has two options: HyperBlog and String. Though... the String option appears blank. It should say "String", otherwise it is confusing.
I'm just guessing that the 3 dots directly to the left of the field type drop down menu, would allow the user to name their own field types, (even though they're all really just strings.) Nice. But until it's working, it would be best if the 3 dots, (which everybody is going to click on) are not visible. Not a good idea to have inactive features in a production app.
|
|
|
Function: AddKeys (clarification) |
Posted by: Paul - 04-26-2019, 05:52 PM - Forum: Getting Started
- Replies (1)
|
 |
This is the example from documentation: https://docs.livecloud.io/AddKeys/
Quote:local tTable, tKeys
# Table name: clients
# Keys: firstName, lastName, age, income
put "clients" into tTable
put "occupation,address" into tKeys
cdb_addKeys tTable,tKeys
It looks like the table, Clients, already has fields, occupation and address, and this command is initializing them as keys. Is this correct?
I'm a little confused by the comment, # Keys: firstName, lastName, age, income. Does that imply these were previously set as keys?
When defining keys in this way, field values are sorted as text. Correct? Are numeric keys currently supported?
|
|
|
In-Memory vs Blob Storage |
Posted by: Paul - 04-26-2019, 01:51 AM - Forum: Getting Started
- Replies (1)
|
 |
Quote:The in-memory allocation is 500 MB. This is the amount of space allotted to the 'Rain' account for queryable data. This space may be spread out over different instances on different servers in a given region. The 20 GB of blob space is stored differently. We use the Digital Ocean Spaces object storage for this feature. This data is not queryable. It is useful for large chunks of data like pictures, video, PDF, etc.
Interesting. Would the address of the blob object, then be stored in memory, as a field in a table? Would this be an internal address or a public URL? Does this mean that all the contents of all tables that have keys, must be stored in the 500 MB area?
In the event of an overflow, (more than 500 MB) would the least used tables be cached out the the hard drive? Or would an account upgrade be required?
|
|
|
Create & Update (field types) |
Posted by: Paul - 04-26-2019, 12:10 AM - Forum: Getting Started
- Replies (1)
|
 |
Looking at the Batch update, I see this code:
## Update Jenny's record
put "47" into tDataA[tClientsTableID]["87654321-abcd-1234-cdef-1234567890ab"]["age"]
put "110000" into tDataA[tClientsTableID]["87654321-abcd-1234-cdef-1234567890ab"]["income"]
It looks like that long UUID references Jenny's account. Which would be available after the user logs in.
But what's that reference to tClientsTableID? Could it be the table where "age" and "income" are stored?
Maybe. But you wouldn't name a table "tClientsTableID". So I'm probably wrong.
Question: If I have a record with many fields, does the whole record get written over or just the field or fields I'm updating?
Question: Does this mean fields don't have an intrinsic type and store everything as a string? (or text) Numbers too?
|
|
|
Notepad Example (Questions) |
Posted by: Paul - 04-25-2019, 11:34 PM - Forum: Getting Started
- Replies (6)
|
 |
I've been studying the NotePad example.
1- In design mode, I clicked on the little Disk icon and then right click, Edit script. Looking for the code that did the actual saving nothing was there. The Save button works fine. If I don't press Save, the data is not saved. But where's the code?
2- Also, looking around at what code I could find, mosting in the Stack Initialization area, there seems to be lots of references to Behaviors. Is this something I need to read up and understand to utilize CanelaDB
|
|
|
|