PDA

View Full Version : Lianja and Pinegrow



hmischel@diligentsystems.com
2015-04-06, 01:22
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.



<%@ 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

LeonMc
2015-04-06, 03:45
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

hmischel@diligentsystems.com
2015-04-06, 09:40
Hi Leon,

That's great that it was useful.

Go build some cool web apps! (Then show us how you did it) :)

Herb

HankFay
2015-04-06, 20:34
Nice, Herb: thanks!

hmischel@diligentsystems.com
2015-04-06, 23:45
As promised, a little code hooked in.

Clearly, I am a bit tired, but the code works :)

https://youtu.be/PGmVEP_YwrI

Herb

HankFay
2015-04-07, 08:46
Thanks, Herb -- get some sleep. <s>