× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Here it is: http://bit.ly/twitter-profoundjs-appfromscratch

Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Thu, Aug 3, 2017 at 9:22 AM, john art <jhon_art@xxxxxxxxxxx> wrote:

Hi Aaron

the Profound logic video .. is public ? can i have the link ..

i'm corious

Thanks






________________________________
Da: OpenSource <opensource-bounces@xxxxxxxxxxxx> per conto di Aaron
Bartell <aaronbartell@xxxxxxxxx>
Inviato: mercoledì 2 agosto 2017 16:30:58
A: IBMi Open Source Roundtable
Oggetto: Re: [IBMiOSS] Suggestion for managing db rules and label fields

Hi John,

In RubyOnRails I would sometimes use their convention of using the column
name as the label name, though they relied somewhat on "snake casing" to
dynamically determine the label. In Node.js I've just been hard coding the
field labels to date. Profound.js, per a video I watched yesterday,
appears to have this baked into their tooling (well done!). This means I
also don't have a caching mechanism for column names.

Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Wed, Aug 2, 2017 at 8:11 AM, john art <jhon_art@xxxxxxxxxxx> wrote:

Hi Aaron

OK for first point (i will check https://www.npmjs.com/package/
hapi-authorization )


for the second ( If it isn't too much to ask ) :

1- can you suggest some form of caching mechanism ?

2- Which method do you use


Thanks in advance anyway


________________________________
Da: OpenSource <opensource-bounces@xxxxxxxxxxxx> per conto di Aaron
Bartell <aaronbartell@xxxxxxxxx>
Inviato: mercoledì 2 agosto 2017 14:42:33
A: IBMi Open Source Roundtable
Oggetto: Re: [IBMiOSS] Suggestion for managing db rules and label fields

Hi John,

For permissions you'll want to start using the search word
"authorization"
and you'll come to results like the following:
https://www.npmjs.com/package/hapi-authorization That one focuses on
the
Hapi framework vs. Express (both are good, IMO, though I've started doing
more Hapi). Note that this focuses at the route level and not the more
detailed field level. You could make a route-level one work, though
you'd
have to introduce a route for each type of user and that could get busy.

Concerning field labels; are you hoping to automatically derive the field
label from the column ~TEXT~ property? That can work and can be a good
convention-over-configuration methodology, though make sure to leave room
for overrides. Note you'd probably want some form of caching mechanism
so
you didn't have to repeatedly ask the system tables for column
information.

Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Wed, Aug 2, 2017 at 5:44 AM, john art <jhon_art@xxxxxxxxxxx> wrote:

Hi all

we are writing a small APP using NodeJs / espress adn webix (
https://www.itjungle.com/2016/11/01/fhg110116-story03/ )for interface;
now we have to understand how to better manage this matters:

1- field's label in the form : if in DB2 the field name is CUSTID in
the
form we would like to show "Customer Code" and so on (now for default
we
see CUSTID)

2- field's permission : some user can't change some fields, other yes
and
other can't see the fields


any suggestions would be welcome .. how do you manage thsi situation ?


thanks in advance

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.