-
Lianja and Pinegrow
Pinegrow is a really handy tool that Hank introduced us to.
I am starting to play around with it and thought I would work through several examples to show it usefulness.
I am clearly not an expert on it, so anyone that wants to extend the demo's, feel free.
Here is the first one. It just puts a nav bar in a webview.
https://youtu.be/DlEHGGe00VA
Here is my default LianjaBootstrap file.
Code:
<%@ Language=VFP%>
<%
///////////////////////////////////////////////////////////////////////////////////////////////////////////
private m_embedded = getParameter("embedded", "false")
private m_libpath
set macros on
set fixed on
if isServer()
m_libpath = "../../library/"
else
m_libpath = "lib:/"
endif
if m_embedded = "false"
? '<html>'
? '<head>'
? '<link rel="stylesheet" href="&m_libpath/bootstrap-3.3.4/css/bootstrap.min.css">'
? '<script src="&m_libpath/jquery-1.10.2/jquery-1.10.2.min.js" type="text/javascript"></script>'
? '<script src="&m_libpath/bootstrap-3.3.4/js/bootstrap.min.js" type="text/javascript"></script>'
? '</head>'
endif
%>
<body style="overflow-y:hidden;">
</body>
</html>
Herb
-
Hi Herb
I also downloaded Pinegrow after Hank introduced it. Played a bit but had no idea where to next with Lianja.
Your post was exactly what I needed. Thank you.
Leon
-
Hi Leon,
That's great that it was useful.
Go build some cool web apps! (Then show us how you did it) :)
Herb
-
-
As promised, a little code hooked in.
Clearly, I am a bit tired, but the code works :)
https://youtu.be/PGmVEP_YwrI
Herb
-
Thanks, Herb -- get some sleep. <s>