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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 349
» Latest member: customrubber
» Forum threads: 240
» Forum posts: 1,069

Full Statistics

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

Latest Threads
using cdb_auth with Live...
Forum: General
Last Post: JereMiami
12-19-2024, 01:58 AM
» Replies: 0
» Views: 17
BLOBs - not possible to a...
Forum: General
Last Post: stamatis
10-06-2024, 06:28 PM
» Replies: 0
» Views: 259
Allow users to change the...
Forum: General
Last Post: mark_talluto
01-18-2024, 01:09 AM
» Replies: 8
» Views: 11,439
cdb_sendEmail
Forum: General
Last Post: mark_talluto
11-07-2023, 09:57 PM
» Replies: 0
» Views: 688
cdb_sync & cdb_lookupvalu...
Forum: General
Last Post: mark_talluto
11-07-2023, 09:45 PM
» Replies: 1
» Views: 1,241
cdb cdb_sendEmail
Forum: Bug Reports
Last Post: JereMiami
10-05-2023, 01:57 PM
» Replies: 0
» Views: 1,770
LCM: "Please inform Canel...
Forum: General
Last Post: mark_talluto
07-12-2023, 07:58 PM
» Replies: 24
» Views: 23,241
San Franciso Region Outag...
Forum: Announcements
Last Post: mark_talluto
05-09-2023, 03:31 AM
» Replies: 1
» Views: 2,880
Error, CDB_Header checksu...
Forum: General
Last Post: cpuandnet
02-01-2023, 05:00 AM
» Replies: 4
» Views: 3,933
CDBCache sync from local ...
Forum: General
Last Post: Hendricus
01-29-2023, 09:39 PM
» Replies: 2
» Views: 2,779

 
  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. 


  Simple CRUD example in docs available!
Posted by: mark_talluto - 05-07-2019, 05:56 PM - Forum: Announcements - No Replies

Hi Everyone,

We have been getting requests for a simple example of CRUD. We have a document that will walk you through this example.

You will learn how to do everything needed to make your projects work with LiveCode and LiveCloud.

Please let us know how this example works for you. Smile

https://docs.livecloud.io/CRUDExample/

-Mark


  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?