Is the nethgui layer a pain?


(Stéphane de Labrusse) #1

[Mode Troll On]
Please … go ahead


(Stefano) #2

ROTFL :smiley:


#3

To use no.
To do… I don’t know :smiley:

But I had observed apps like coovachili, that don’t install by the nethgui… Probably that to do, the answer is YES :laughing:

Edit: you don’t close [mode Troll On] :grin:


(Stéphane de Labrusse) #4

At the minute I’m thinking that it is not so easy that I would, but…I do love Issues


#5

is manual many hours of read?


(Stéphane de Labrusse) #6

there is no manuals !!!


(Alessio Fattorini) #7

There is a manual! I haven’t looking for enough :smile:


(Stéphane de Labrusse) #8

My bad I’m a liar, there is a manual, please @jim can you look after it and give back your feelings…I’m quite sure that you will love it.

http://dev.nethserver.org/nethgui/Documentation/Api/index.html

By the way a developer reads code, never the documentation…think that developers are lazy.


#9

When I click on your link, I’ve got this message:
La page que vous avez demandé n’existe pas ou est privée.

The dev doc I’m reading is this one:
http://docs.nethserver.org/projects/nethserver-devel/en/latest/


(Stéphane de Labrusse) #10

workable for me, fun

http://dev.nethserver.org/nethgui/Documentation/Api/index.html


(Stefano) #11

idem for me here, no problems at all to view it


(Stéphane de Labrusse) #12

[mode troll off]
the relevant chapter concerning nethgui has been really well enhanced in the documentation that you pointed us.

http://docs.nethserver.org/projects/nethserver-devel/en/latest/web_interface.html (and page below)

It is a good start to try to understand how it works.

[mode troll on]


#13

The link work now…

Sightly different from:
https://www.clearos.com/resources/documentation/clearos

Where you can read:

This page is the comprehensive index for all documentation

and

 User Guides
 (These are product specific manuals. These contain the answer to 'what'.)

 Knowledgebase, Howtos, and Best Practices
 (These generally contain information not in the manual and answer the questions 'why' and 'how'.)

An other pedagogical approach for sure… :pray:


(Stefano) #14

oh, Jesus…

the link you’ve been given answer HOW… now you know it, start reading, studying, trying…

you don’t need a good documentation… you need a real interest in trying to understand


(Stéphane de Labrusse) #15

yes I’m still trolling


(Stéphane de Labrusse) #16

Well I give up…too hard for me


(Alessio Fattorini) #17

Noooo @davidep is here among us! He can help you, right Davide?


(Giacomo Sanchietti) #18

Sorry @davidep, but…yes NethGUI layer is a little pain! :frowning:
BUT, if you know the framework, you can write simple modules in very little time and the framework will take care of interface consistency, validation (JavaScript and server-side), usability from mobile devices, binding to e-smith db, internationalization, help modules and authorization.
Also, much of the complexity comes from a poorly used requirements: testability.

It’s a huge amount of work which Davide did when NethServer was only an idea, and it still is the most important part of NethServer for the end user.
Very very often a new amazing feature with a great implementation doesn’t have any value because a poorly designed GUI.
Just an example: when I create a new module, I spend 30% of the time for the backend and 70% for the GUI only because I’m terrible on designing graphic things!
I would kiss anyone who want do the web interface job for me! :stuck_out_tongue:

I agree we need a simplified and well documented GUI framework :smile: and maybe it should be one of the keystone for NS 7.


(Stéphane de Labrusse) #19

Nethgui is not bad, even for a php framework, some routines from the e-smith database are deeply coded (I mean how make a table from a type key), it is nice.
Yes there is no documentation, but for a simple panel, quickly you can have a start, once of course you have understood the principles on Nethgui relies.


(Stéphane de Labrusse) #20

I’m still trolling