Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is Lianja really VFP 10 ??
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01668045
Message ID:
01668107
Views:
90
Hank,
Just being curious - what are you using Electron for- how are you integrating Node.js into your Lianja app?
I guess Lianja has made some major changes in the last few years because I don't understand how node and lianja work together. It just occurred to me that maybe node is an add on in some manner?
Hi John,

I get web/phonegap/electron in one fell swoop, with all the data stuff built-in, etc. Lianja is a complete stack. Plus Bootstrap, jQuery and jQuery Mobile under the hood. Plus all visual design UI. Etc. And a Cloud Server that integrates with IIS or Apache. Plus a SQL Database that can scale if I don't want to go against 3rd-party SQL DB's.

Every SPA app, Lianja or not, has pages and pages may have demarcated sections or not. For me, it's having all the parts work together without my having to make the parts work together. I'd rather spend my time working on the application. Lianja gives all the flexibility I need in an app, and in the short future will be able to integrate commercial UI libraries like Kendo UI and Telerik if I need fancier stuff. Again one could build whatever one needs off JQuery (as Kendo has done), so it's a matter of a) does it serve my purpose and b) my priorities.

I can write backend code in VFP (enhanced), Python, JavaScript, TypeScript, or PHP. Backend calls are transparent in the client-side JavaScript:

var lcLastName = 'Fabiani';
var lcReturn = myVFPDataMunger(lcLastName);

lcReturn could be a base64 encoded JSON string with data to be into a client-side cursor. I can access the cursor directly and put the data in without writing any of the underlying code required. Etc.

So it's not that it couldn't be done by hand, using all the libraries available. Clearly it can. It's just a matter of my preference and priorities.

Different strokes for different folks. <s>

Hank

>>Hi Everyone,
>>
>>Hey, I've been playing around with Lianja and was wondering if anyone is using it in a real world environment. What are your thoughts? Is it really VFP 10 as it's claiming to be? Can I preserve most of my base code from my current VFP applications to leverage true 64 bit without sacrificing 100s of thousands of lines of code?
>>
>>I'm interested in your expert opinions.
>>
>>Thanks!
>Hank,
>If you are using electron why not just do the work in electron? You get the desktop, and can convert to the web without much of an issue. I believe the issue moving from FoxPro to anything is in one's head. I know it was for me. I was so used to having some app that helped with the design and allowed adding code that I came to believe that was the best way to do everything. When I moved to Python (and later to electron) using Dabo I quickly discovered that creating screens and adding code was not a big deal. In fact it had very little to do with the real work. The real work was making sure the controls on the screen did what was required. Don't mis-understand I am NOT saying frameworks don't help - they do. But they also restrict and force you into way of thinking - all in an effort to ease the design process. And I believe this also applies to reporting. If you are using electron then all the web tech is immediately available including all the frameworks. If I am using electron I have node.js and I use vue.js for everything. And I hand code my design (although there are plenty of free html screen designers on the web). My guess is we as former FoxPro just don't realize that creating a screen is not a big deal and our general fear is just silly.
>Johnf
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform