How to Create Entry form easily - node.js

Qusetion:
What is the best tool for creating Entry forms Tools should be easy to use with most drag and drop functionality and less coding?
Current Use:
I am using Angular Material library, Node js & Mongo Db but it takes a good time to build forms.
can anyone please suggest the some shortest way or tools which I used to create a form?

There is no drag and drop tool except.
Bootstrap, just copy and paste.
https://getbootstrap.com/docs/4.0/components/forms/

Related

How to achieve drag and drop in taiko browser automation tool?

Using taiko automation tool, we have completed a few level of automation testing for our application in browser.
To proceed further we need to achieve a drag and drop option, which is one of the necessary steps in our application.
Gone through taiko feature's and found option like hover, scroll up, scroll down, etc.
How to achieve drag and drop using taiko?
You can use the dragAndDrop api.
For e.g.
dragAndDrop($("work"),into($('work done')))
dragAndDrop($("work"),{up:10,down:10,left:10,right:10})
source https://taiko-preview.gauge.org/#draganddrop
Drag and Drop is not supported in Taiko at the moment. The team has plans to pick this up - https://github.com/getgauge/taiko/issues/104

Vaadin 6 : RichTextArea and remove formatting

It's been a while that I've been reported about a problem on the software I'm on charge. I will try to explain it as much detailed as possible (Sorry if my english seems bad to you by the way ^^').
Context : The software has been developed as a Web Application (Java EE) + the framework Vaadin 6 (not 7). Since this project exists for about 4 or 5 years, the technology used isn't the newest but it's currently ok. This software is used by our internal clients so about a 70 users are using it per day. I'm on charge of this project for 9 months now.
Problem : Often, users copy some info (words, tables and so on) from others sources like a Word Document, or a PowerPoint. Then paste it into a RichTextArea. then they export all those info into an Excel (XLS) file. But sometimes, those pasted info aren't reported, or generate some HTML Tags (not understandable for most users).
What I had suggested : The RichTextArea has some tools, displayed with buttons, one of them is "Remove Formatting", if they press it, everything would be ok. But I had to agree with them, it isn't intuitive and "friendly" to use. Since they are my clients, I want to help them as much as possible.
What I want : I want that if they copy paste into the RichTextArea:
They should be invited to remove the format (with a notification on paste) by pressing the Remove Formatting Button, so I should valorize it.
Or automatically apply the remove formatting on paste.
But I couldn't achieve those solutions because I don't know how to detect the action of pasting, moreover, for the second solution, I couldn't retrieve on the code the remove formatting action.
Can you help me in order to achieve this please? Any tips that doesn't involve an other technology would be appreciated :)
Aynath
If this is still relevant:
Not sure about the first approach. But the first thing that comes to my mind is to use usual change event. When user will paste the new text, you will be notified that values were changed. Then use any tool to clean HTML and get the simple text (I suggest to use something like jsoup because it is the easiest thing). Or, if you need something specific implement your own parser/cleaner. The last thing is to simply set a new text to the current area value.
Otherwise, you can use Vaadin add-ons which may provide such information. Just look for add-ons repository for CKEditor or TinyMCE Editor

Design pattern for Excel like workbook editor

I've been assigned to a software development task for a excel like editor. Basically the editor is working on 2-dimensional data, should have the basic editing features such as add/remove rows/columns, edit cells, undo redo etc.
Please point me some good design patterns for this type of job, Thanks!
Rather than trying to figure out all design patterns for a project in advance, wait until you run into a specific design issue and think about patterns that address that issue.
That being said, the features you list here do call out the likelyhood that you'll be wanting to use the Command pattern, so that each possible operation (add column, add row, remove column, edit cell, etc.) is supported by a command object, and enabling undo/redo for your commands with additional help from the Memento pattern.
Depends on context of use.
You could check out some common usage guidelines for tables here: http://www.oracle.com/webfolder/ux/middleware/richclient/index.html?/webfolder/ux/middleware/richclient/guidelines5/tblInteraction.html
Very often users want an Excel-like UX for table data manipulation, including actual export to Excel. You can provide for edit, sort, add row, enlarge, etc. If the user is editing in a table try that guideline. It's intended for enterprise users, so customize accordingly.
HTH

How do I use Structure to output a select menu

I am working on a responsive site and need to output my Structure powered nav into a select menu for smaller screens. In looking at Structure's documentation this doesn't seem possible natively. Am I missing something?
After some digging it seems like the add-on Structure Entries is the ticket I need with one caveat. SE has quite a bit of overheard (in terms of queries) while using it to spit out custom nav. What's the best approach to minimize the impact performance for complicated menus?
I am doing this currently using Twitter Bootstrap's Button Dropdown javascript plugin. http://twitter.github.com/bootstrap/javascript.html#dropdowns
I also use MX Mobile Device Detect to serve devices the dropdown while the desktop users get the full menu.
I think the Dropdown Button script only allows for a single level list, however since its mobile do you need more than one?
I know it's obviously preferable to do it in the template itself, but a JS alternative is TinyNav.js.
It will convert your nav to a select dropdown.
http://tinynav.viljamis.com/

EXCEL like table in eclipse GEF

I have a project that need to create several graphic editing.
A new feature is to create a excel like table using GEF.
Column / Row add/delete is needed.
The current plan is to many Node. As add new column / row, add lots of Node to make it like a table.
About the Node width / height adjustment, the current plan is use can adjust size of each Node.
Other corresponding node will be change according the current node change.
Currently some tests is working, but I wonder if there are better solution this this?
(Using plan SWT table is not ok, for some GEF feature is still needed.)
I think it would be better to render the excel table on Canvas than using GEF figures to represent column/row..etc. Because you will not be able to optimize performance with GEF as its UpdateManager(that does painting) is very generic and it doesn't know about a thing about excel like behavior that you are looking for.

Resources