Search found 30 matches

by MrWizard.
Sun Mar 16, 2014 8:35 am
Forum: iOS Deployment
Topic: Connection detection
Replies: 5
Views: 12812

Connection detection

Hello

Is there a way to detect the connection type from a lc iPhone app?

I want to be cost conscious and have my app do light weight transfer when cellular connected deferring heavy transfers to wifi connected sessions.

It would be great to have a function to query the current connection type ...
by MrWizard.
Thu Nov 07, 2013 12:05 am
Forum: iOS Deployment
Topic: Data at Rest encryption
Replies: 1
Views: 3111

Data at Rest encryption

Greetings,

Looking to see if anyone has a solution for encryption of data at rest (files) within the application sand-box.

It looks like Apple has provided for the libraries / attributes;

https://developer.apple.com/library/ios/DOCUMENTATION/iPhone/Conceptual/iPhoneOSProgrammingGuide ...
by MrWizard.
Wed Jul 24, 2013 2:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Pre-Processor?
Replies: 13
Views: 11726

Re: Pre-Processor?

THanks for the psuedo code.

You have the right concept, but this appears to still be runtime evaluated.

I am looking for a pre-processor.

The preprocessor would take the LC stack and generate a new output prior to sending it to the compiler.

My LC Source Code with pre-processor language ...
by MrWizard.
Wed Jul 24, 2013 3:51 am
Forum: CGIs and the Server
Topic: Session Management
Replies: 2
Views: 6164

Session Management

Does anyone have a working examples of session management ?

I have attempted to use the 'start session' and $_SESSION as referenced in the documentation have encountered issues and the documentation seems week.

Questions;
- How do you test if a session is already active?
- In a given dynamic html ...
by MrWizard.
Wed Jul 24, 2013 1:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: MVC - livecode separation of layers
Replies: 10
Views: 10246

Re: MVC - livecode separation of layers

Thanks.

Is it created through the client IDE or does one just use a text editor

E
by MrWizard.
Tue Jul 23, 2013 10:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: MVC - livecode separation of layers
Replies: 10
Views: 10246

Re: MVC - livecode separation of layers

I see that LC has the concept of include files (both locally and remote)

How do I use stacks with LiveCode Server?
http://lessons.runrev.com/s/lessons/m/4070/l/36656-how-do-i-use-stacks-with-livecode-server

What is a Library and Why Do I Care?
http://livecode.byu.edu/messages/libraries.php

This ...
by MrWizard.
Tue Jul 23, 2013 9:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Pre-Processor?
Replies: 13
Views: 11726

Re: Pre-Processor?

Here is a quick and dirty example in HTML to conceptualize one form of usage.

There are three files;

preprocessor.lc,
1 <?lc
2
3 put "<!DOCTYPE HTML PUBLIC " & quote & "-//W3C//DTD HTML 3.2 Final//EN" & qu ote & "> " && CRLF
4 put "<HTML>" && CRLF
5 put "<HEAD>" && CRLF
6 put tab && "</HEAD ...
by MrWizard.
Mon Jul 22, 2013 7:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Pre-Processor?
Replies: 13
Views: 11726

Re: Pre-Processor?

Thanks for he reply.

Yes, one can certainly accomplish control flow via run-time execution, but i am looking for a pre-processor stage between the IDE and the code compilation. I know the framework is there, since LC uses it to determine the compilation target (iPhone, iPad, etc). I am hoping to ...
by MrWizard.
Mon Jul 22, 2013 6:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Livecode module for Drupal?
Replies: 1
Views: 5738

Re: Livecode module for Drupal?

Here are more details on the filter;

About

The PHP filter module adds a PHP filter to your site, for use with text formats. This filter adds the ability to execute PHP code in any text field that uses a text format (such as the body of a content item or the text of a comment). PHP is a general ...
by MrWizard.
Mon Jul 22, 2013 2:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Livecode module for Drupal?
Replies: 1
Views: 5738

Livecode module for Drupal?

Has anyone built a livecode module for drupal?

It should be similar to the available PHP module.
https://drupal.org/project/php

So effectively a drupal site would be able to embedd encapsulated LC logic / script into their existing drupal site as a "block". The drupal site would call out to the LC ...
by MrWizard.
Mon Jul 22, 2013 1:34 am
Forum: CGIs and the Server
Topic: Desktop IDE for server scripts
Replies: 8
Views: 14287

Re: Desktop IDE for server scripts

One cool option I have found is to use Bare Bones editor TextWrangler (http://www.barebones.com/products/textwrangler/) which is free in the Mac store for download.

This tool has a programmer's extension option;
http://www.barebones.com/products/textwrangler/twprogrammer.html

This option allows ...
by MrWizard.
Sun Jul 21, 2013 7:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: MVC - livecode separation of layers
Replies: 10
Views: 10246

MVC - livecode separation of layers

Does anyone have any advice on keeping layers separate? I try to use good MVC design and keep as much separated as possible. I am looking to create a clean Design [MVC (Model-View-Controller) MVVM (Model-View-View-Model) and MVP (Model-View-Presenter)].

UI <--> BLL <--> DAL

This 3 layer ...
by MrWizard.
Fri Jul 19, 2013 12:52 pm
Forum: CGIs and the Server
Topic: CGI Scripts
Replies: 4
Views: 7561

Re: CGI Scripts

Generally load / execution speed but also security around IP protection especially where one has to embedd plaintext passwords for database connections

E
by MrWizard.
Fri Jul 19, 2013 4:12 am
Forum: CGIs and the Server
Topic: Desktop IDE for server scripts
Replies: 8
Views: 14287

Desktop IDE for server scripts

It appears the livecode desktop IDE is not designed to develop LC server based scripts. Am I missing something?

I started using Textwrangler on the MAC but the syntax coloration etc is off. Has anyone developed a Textwrangler config that is LC aware?

Is there a preferred desktop IDE which is LC ...
by MrWizard.
Fri Jul 19, 2013 2:45 am
Forum: CGIs and the Server
Topic: CGI Scripts
Replies: 4
Views: 7561

CGI Scripts

Can CGI scripts be compiled or must they be in plaintext and runtime interpreted?

E