Coder Social home page Coder Social logo

usermode_component's Introduction

UserMode Component

Abstract

A “user mode”, as 4D developers may be familiar with, is often useful to correct or modify records without the being held to the same application or business restrictions that an end-user faces. This tech note describes a component which allows adding such a user mode to databases.

Introduction

Similar to the User Mode of older versions’ of 4D, the component allows creating, modifying or deleting records for all tables with functions to sort, order, import, export or use the report editor. This functionality can be provided even in built applications. Furthermore, it is possible to limit access; for example, allow the admin so see everything, but only able to modify some tables, while the designer has full access.

History

First published as Technical Note 2009-21
Updated for 4D WorldTour 2015 and 2017.

Summer 2019: this files are exported using 4D v17 R3 Export structure file (http://doc.4d.com/4Dv17R3/4D/17-R3/Export-structure-file.301-3965587.en.html) This is export only, you cannot directly import them. The export still allows to track difference between versions, allowing customers using a copy of these components to follow changes. And it allows me to have one global version, avoiding to have several copies with different code changes on my different computers...

March 2020: converted in project mode, allowing direct usage with 4D v18. Disabled ON EVENT CALL, disabling selecting records by typing characters, as quick&dirty solution. Possible solution for later/todo: add functionality similar to https://blog.4d.com/list-box-typeahead-intuitive-list-searching/

usermode_component's People

Contributors

thomasmaul avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.