-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.wl
83 lines (80 loc) · 5.23 KB
/
demo.wl
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{FULLPAGE()}{FULLPAGE_SECTION(title='wikiLingo' background-image='url(imgs/bg.jpg)')}{DIV(text-align="center" padding="0 15% 0 15%")}<img src="wikiLingo/editor/img/wL3d.png" height="40%" width="40%" />
!wikiLingo
a __wiki__ (language + editor + platform)
''for humans''
{DIV}{FULLPAGE_SECTION}{FULLPAGE_SECTION(title="What" background-image='url(imgs/bg1.jpg)')}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 25% 0 25%")}
!!What is wikiLingo?
wikiLingo is a new platform for web design. It's completely "What You See Is What You Get" or "WYSIWYG" driven, for a complete visual experience. It has powerful plugin, security, and event architectures for designing your way.
!!!Techies? Scroll right
{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!Working with plugins
Let's start with something simple, like a tabs interface:
{DIV(padding="0 25% 0 25%")}
-+wikiLingo
{TABS()}
{TAB(title="Tab 1")}
I'm the content in tab 1!
{TAB}
{TAB(title="Tab 2")}
I'm the content in tab 2!
{TAB}
{TABS}+-{DIV}
!!!!!The above creates 2 tabs, it injects the css and javascript that is needed to generate the whole interface on demand.
{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!This is the result
{DIV(padding="0 15% 0 15%" text-align="left")}
{TABS()}
{TAB(title="Tab 1")}
I'm the content in tab 1!
{TAB}
{TAB(title="Tab 2")}
I'm the content in tab 2!
{TAB}
{TABS}{DIV}
{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!But really, how does it work?
Here there are two wikiLingo plugins used, tabs and tab. This is the php that makes it happen
[https://github.com/wikiLingo/wikiLingo/blob/master/WikiLingo/Plugin/tab.php|tabs] | [https://github.com/wikiLingo/wikiLingo/blob/master/WikiLingo/Plugin/tab.php|tab]
{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION}{FULLPAGE_SECTION(title="Why" background-image='url(imgs/bg2.jpg)')}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!Why should developers use wikiLingo?
!!!!!Developing plugins is easy. Utilizing them? Even easier. wikiLingo uses html5's contenteditable and complements it with javascript, forcing it to act the same in modern browsers. This limits the amount of code needed for a wysiwyg editor, because you are using the browser instead of some monolithic wysiwyg project. Not to mention it is being integrated into Wordpress, Tiki, and Drupal.
<img src="imgs/wtd.png" style="width: 25%;"/>
{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!Why should designers use wikiLingo?
!!!!!wikiLingo is a living whiteboard. It makes it easy for the designer to connect with the content, using WYSIWYG editing. Drag and drop editing that works how you've always wanted it to. Everything has the capability for customization. What more can you ask for? Plus, it is being integrated into your favourite CMS.
<img src="imgs/wtd.png" style="width: 25%;"/>
{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!Why should businesses use wikiLingo?
!!!!!Utilizing wikiLingo can save businesses money because the cost for designers and developers to work together decreases since they don't have to create an API. It's even easy to manage yourself because it works how you want it to. It'll also save you money, because it works in wordpress, tiki, and drupal!
<img src="imgs/wtd.png" style="width: 25%;"/>
{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION}{FULLPAGE_SECTION(title="Achievements" background-image='url(imgs/bg1.jpg)')}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!We have finally solved
__Bold Text__
(because __<b />__ is too complicated){DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!A way to program interfaces, like tabs & accordion
{DIV(font-size="15px")}{TABS()}
{TAB(title="Tab 1")}
I'm the content in tab 1!
{TAB}
{TAB(title="Tab 2")}
I'm the content in tab 2!
{TAB}
{TABS}
{ACCORDIONS()}
{ACCORDION(title="Accordion 1")}
I'm the content in accordion 1!
{ACCORDION}
{ACCORDION(title="Accordion 2")}
I'm the content in accordion 2!
{ACCORDION}
{ACCORDIONS}{DIV}
(becuase __$('div').tabs();__ is too much work)
{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION_SLIDE()}{DIV(text-align="center" padding="0 15% 0 15%")}
!!FutureLinkProtocol in tiki, drupal, and wordpress
A reciprocal linking protocol that is both secure, and updates through time as your articles update on both sides of the link
<img src="imgs/flp.gif" style="width: 25%;"/>
...need we say more?{DIV}{FULLPAGE_SECTION_SLIDE}{FULLPAGE_SECTION}{FULLPAGE_SECTION(title="Try" background-image='url(imgs/bg3.png)')}{DIV(text-align="center" padding="0 15% 0 15%")}
!!Try it yourself
!!!::[wysiwyg.php|Designers] [source.php|Developers]::
{DIV}{FULLPAGE_SECTION}{FULLPAGE}
[https://github.com/wikiLingo/wikiLingo|<img style="position: fixed; top: 0; right: 0; border: 0; padding: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub"/>]