No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Useful Tips (NEW)
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • qyloxe

      Things end users care about but programmers don't
      • qyloxe

      8
      2
      Votes
      8
      Posts
      362
      Views

      qyloxe

      @turigeza said in Things end users care about but programmers don't:

      @qyloxe Interesting : ) Thank you!

      So have you done UNDO / REDO before with a relational database ? Did it work well for you ?

      yes, many times, BUT it of course depends on the definition of undo 🙂
      The most “classic” undo/redo is in banking systems. There is a concept of transaction log, every event has a date, a money transfer, a source, destination and if you want to make a undo, then you just replay needed transaction (banking not db) with opposite value sign.

      There were apps where in some domains the undo were beneficial and where this behaviour was implemented by record version history. It works very well when you do not need to undo many inter-table connections. As a matter of fact, I implement very, very often the record version history and operations log for almost every table. It is beneficial in long run.

      And there are some tables, where it is possible to model the reality in such a way, where the actions and states of the records in those tables mimics the finite state machines. I do prefer and strongly recommend using this technique in relational tables. Imagine that you have a table “Users”. You can add a column “status” with such possible values: “N” - new, “P” - in process of registration, “C” - registration cancelled, “Z” - user active, “B” user blocked, “U” - user deleted. There are possible transitions (just as example):
      N->P
      P->C
      P->Z
      Z->B
      Z->U
      If you have a table with versions of this table, than every update to users table would insert last version (automatically by trigger) to your version table. You have full log, full operations register, full info about who did what and when and… undo/redo possibility.
      FSM (finite state machines) gives you guarantee, that your system, as a whole, will always be in determined and correct state.

      Oh, this is my main modelling/architecture concept which works in most situations. It is of course only a tip of the iceberg, but I’m sure it is somewhat obvious, because all this is described and known from many years.

    • s.molinari

      How to get the Quasar docs to run offline?
      faq-general • • s.molinari

      3
      5
      Votes
      3
      Posts
      1111
      Views

      s.molinari

      The answer is the first thread post. Read above and follow the instructions.

      Scott

    • codeguru.io

      Getting started with Quasar Framwork video tutorial
      • codeguru.io

      2
      0
      Votes
      2
      Posts
      144
      Views

      Allan-EN-GB

      Another nice video. Looking forward to seeing the series progress. I’ve added a couple of notes in a comment on the video 🙂

    • s.molinari

      Quasarians in Action #8! With Staff Pick of the Week.
      • s.molinari

      2
      3
      Votes
      2
      Posts
      404
      Views

      Allan-EN-GB

      Great work team and community!

    • T

      Table Component Error
      • T.Kevin

      2
      0
      Votes
      2
      Posts
      171
      Views

      Hawkeye64

      Thanks for bringing this to our attention. We’ll look into it right away.

    • s.molinari

      Quasarians in Action #7! With Staff Pick of the Week.
      • s.molinari

      1
      1
      Votes
      1
      Posts
      162
      Views

      No one has replied

    • s.molinari

      Quasarians in Action #6! With Staff Pick of the Week.
      • s.molinari

      1
      2
      Votes
      1
      Posts
      511
      Views

      No one has replied

    • D

      How to compile SCSS to CSS and load the CSS code as string into a variable? **Solved**
      • ddenev

      5
      0
      Votes
      5
      Posts
      1012
      Views

      D

      An update to the solution has been added above

    • s.molinari

      Quasarians in Action #5! With the Staff Pick of the Week.
      • s.molinari

      3
      5
      Votes
      3
      Posts
      285
      Views

      Hawkeye64

      Nicely done all!

    • s.molinari

      Quasarians in Action #4 with Staff Pick of the Week
      • s.molinari

      1
      3
      Votes
      1
      Posts
      195
      Views

      No one has replied

    • s.molinari

      Quasarians in Action #3 with Staff Pick of the Week
      • s.molinari

      1
      4
      Votes
      1
      Posts
      484
      Views

      No one has replied

    • J

      pdfmake insert image
      image module pdf statics • • jmg1340

      2
      0
      Votes
      2
      Posts
      5353
      Views

      No one has replied

    • s.molinari

      Quasarians in Action #2 with Staff Pick of the Week
      • s.molinari

      2
      5
      Votes
      2
      Posts
      504
      Views

      Hawkeye64

      I just love this as it shows just how much the community cares and willing to dig in and help with issues.

    • s.molinari

      Quasarians in Action! With the Staff Pick of the Week.
      • s.molinari

      1
      7
      Votes
      1
      Posts
      577
      Views

      No one has replied

    • M

      beautiful admin template
      • mbTolou

      1
      0
      Votes
      1
      Posts
      1731
      Views

      No one has replied

    • s.molinari

      FAQ Gold Nuggets on Discord
      faq-gold-nugs • • s.molinari

      2
      6
      Votes
      2
      Posts
      610
      Views

      s.molinari

      Starting a new page.

      How to fix an "Unexpected end of JSON input while parsing near " error

      Scott

    • qyloxe

      New And Experimental CSS DevTools In Firefox - flex grid inspector etc.
      • qyloxe

      1
      0
      Votes
      1
      Posts
      136
      Views

      No one has replied

    • S

      Adding custom functionality to Quasar's components
      • stefanvh

      5
      5
      Votes
      5
      Posts
      2669
      Views

      Hawkeye64

      This is how QPopupProxy works (with QMenu and QDialog)

    • patryckx

      Using fingerprint on android with Quasar(cordova mode)
      • patryckx

      3
      3
      Votes
      3
      Posts
      678
      Views

      patryckx

      @mKomo I am updating Reame with some more details.

    • patryckx

      OAuth2(Facebook, Instagram, Github) with Hello.js + Quasar Framework
      • patryckx

      27
      3
      Votes
      27
      Posts
      3817
      Views

      patryckx

      @saro199 Is there anyone who works with me who has had this experience and shared here:

      https://forum.quasar-framework.org/topic/4034/authentication-on-social-networks-with-quasar-cordova-hello-js/3