Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 323
» Latest member: lisahage
» Forum threads: 238
» Forum posts: 1,067

Full Statistics

Online Users
There are currently 2 online users.
» 0 Member(s) | 2 Guest(s)

Latest Threads
Allow users to change the...
Forum: General
Last Post: mark_talluto
01-18-2024, 01:09 AM
» Replies: 8
» Views: 7,567
cdb_sendEmail
Forum: General
Last Post: mark_talluto
11-07-2023, 09:57 PM
» Replies: 0
» Views: 331
cdb_sync & cdb_lookupvalu...
Forum: General
Last Post: mark_talluto
11-07-2023, 09:45 PM
» Replies: 1
» Views: 555
cdb cdb_sendEmail
Forum: Bug Reports
Last Post: JereMiami
10-05-2023, 01:57 PM
» Replies: 0
» Views: 978
LCM: "Please inform Canel...
Forum: General
Last Post: mark_talluto
07-12-2023, 07:58 PM
» Replies: 24
» Views: 14,144
San Franciso Region Outag...
Forum: Announcements
Last Post: mark_talluto
05-09-2023, 03:31 AM
» Replies: 1
» Views: 1,671
Error, CDB_Header checksu...
Forum: General
Last Post: cpuandnet
02-01-2023, 05:00 AM
» Replies: 4
» Views: 2,246
CDBCache sync from local ...
Forum: General
Last Post: Hendricus
01-29-2023, 09:39 PM
» Replies: 2
» Views: 1,646
All regions receiving upd...
Forum: Announcements
Last Post: mark_talluto
12-01-2022, 01:54 AM
» Replies: 1
» Views: 1,310
Error Getting subscriptio...
Forum: General
Last Post: Linda Lu
11-28-2022, 05:13 PM
» Replies: 1
» Views: 1,302

 
  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


  Free trial
Posted by: simon.schvartzman - 04-25-2019, 07:58 PM - Forum: General - Replies (5)

Hi, I already own a LC Indy license and would like to try Livecloud. Have you considered to enable a free version, let say with a limit in the number of records, or a time limit, whatever...

I guess it will be really appealing  for the LC community...

Looking forward for a positive response.

Regards, Simon


  Compatible LC versions
Posted by: sturgis - 04-24-2019, 10:06 PM - Forum: Getting Started - Replies (6)

I just bought the bundle, and the only part of the purchase that actually seems to have worked is the coupon for livecloud.  I have a support request in with livecode, but until that is resolved I cannot activate the indy version of LC that was part of the bundle.   I see that one of the inclusions needed is tsnet.  Until my LC activation issues can be worked out, is there a chance that livecloud will work with lc community or community plus?