/
hello.txt
34 lines (19 loc) · 862 Bytes
/
hello.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
service.php is the backend
config.xml has syntax similar to Tomcat
templates: html code with some enhancements
change variables in config.xml
server.php: class [SERVICE_NAME_CAPITALIZED]
can have more than one template
curly braces have variables to add spaces because not all email clients work the same
{space15}
{space10}
{space30}
pass variables from responseContent array into template
{$var_one|capitalize} - format how variable displays
Download images automatically using php
{ } apretaste tags
image width and other image tags, foreach loops, etc.
Compress all files in the service's folder in a zip file, with the files in the zip file root
upload to apretaste.com/manage to deploy a service
{link href="oyesocio registrar {$id}" body="Primer Nombre:\nApellido:" caption="Inscríbete ahora!"}
// {$id can be any variable you're passing}