Group Abstract Group Abstract

Message Boards Message Boards

CloudDeploy Example: Custom FromFunction Design for Gas Pressure

Posted 9 years ago
Attachments:
POSTED BY: Scot Martin
5 Replies
Posted 9 years ago
POSTED BY: Jose Gomez

Hi,

First of all it's great to see our little function being put to such good use, I really like the form you've deployed!

I've noticed you use bare HTML tags in your form. Please note that the fact that doing that works at all right now is a serious bug and your form will probably break in the next week or two. The right way to use HTML in a form (or template) is by using EmbeddedHTML, which tells the templating engine not to escape the tags.

Another thing you might want to be aware of is the $Permissions global variable that you can set to "Public" directly. This way you won't have to pass options to CloudDeploy.

And lastly (but I'm sure you've already know about this) a style suggestion.

CompoundExpression[
    a,
    b
]

is exactly equivalent to

a;
b

which is, in my opinion, a bit more readable.

Thanks!

Carlo

POSTED BY: Carlo Barbieri
Posted 9 years ago
POSTED BY: Scot Martin

enter image description here - you have earned "Featured Contributor" badge, congratulations !

This is a great post and it has been selected for the curated Staff Picks group. Your profile is now distinguished by a "Featured Contributor" badge and displayed on the "Featured Contributor" board.

POSTED BY: EDITORIAL BOARD

Thanks Scot...this is very useful!

POSTED BY: Aeyoss Antelope
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard