Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vue.js - useful?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01666301
Message ID:
01666470
Views:
66
I've been using Vue quite a bit in server side application that need client side enhancements - Incremental Enhancement. Vue has kind of taken the place of jQuery as a the client side helper library for many things. It's very small and can work with traditional JavaScript and pages, without going through full blown SPA development which is actually a use case that none of the other big frameworks cover (yet).

Vue can also be used as a SPA framework, but that process is very different and more similar to using a framework like Angular and React. These SPA frameworks are geared to building single page applications where all the client side code completely runs in the browser. All UI is generated through the framework. All these tools require complex tool pipelines to 'compile' these application into deployable modules. These pipelines are very sophisitcated and provide a ton of functionality. Not hard to use but it requires a very different mindset to work with (if you watched demos and tutorials you know what I mean I'm sure).

Vue, Angular React are all very similar in that they provide rich databinding frameworks that let you bind model data to views (HTML fragments/elements). They make it pretty easy to take data you collect from the server via JSON data services and bind it to the UI. Whether that's rich UI or CRUD data forms is just a matter of the type of application you're building. In any case you're basically writing logic to populate the models to get them to display the data on the screen which is displayed based on bindings that are updated as the data on those models changes.

In a nutshell this is what all of these frameworks do. They all vary in their syntax and formatting for the databinding, but the general concepts are actually very similar. One thing that you have to watch out for with JavaScript is the constant feature creep with these frameworks. They never seem to sit still changing very rapidly, often with breaking changes going forward which makes it really hard to keep up to date.

That said it's pretty compelling what you can build client side JavaScript applications these days. You can create very flexible and very fast user interfaces and there are lots of support features, components and frameworks out there that you can tap into.

Lots of opportunity, but also lots of learning curves...

+++ Rick ---


>I have been looking into Vue.js
>https://vuejs.org/
>
>It is a JavaScript framework (free) for building web applications.
>
>Most of the Vue tutorials and courses I've looked at concentrate on building a user interface.
>
>I've seen very little about building database CRUD forms using MySQL or PostgreSQL etc.
>
>Anyone used it? Coming from a VFP background, I wonder if it is a suitable tool to build something that works well with a database, eg one-to-many forms, data lookup, data grid, etc.
>
>Would appreciate any comments.
>
>Thanks
>Cyril
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform