DBTreeView alternative?

Questions and answers on developing, deploying and using plugins and JavaBeans

Re: DBTreeView alternative?

Postby ngervasi » Wed Jul 03, 2013 5:12 pm

I see but I'd still prefer to use the alternative one, for navigation purposes it's faster compared to the one based on foundsets (I guess all data is kept in memory and no query fired against the db). The default one has also some issue in webclient with the icons realoading too often.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: DBTreeView alternative?

Postby david » Wed Jul 03, 2013 11:18 pm

tree.png
tree.png (465.76 KiB) Viewed 10611 times
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: DBTreeView alternative?

Postby ngervasi » Thu Jul 04, 2013 12:43 pm

Very cool David!
What is that exactly?
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: DBTreeView alternative?

Postby david » Fri Jul 05, 2013 2:27 am

ngervasi wrote:Very cool David!
What is that exactly?


It's Servoy's web client going really really fast. And a lot of other cool things.

slickgrid-servoy.png
slickgrid-servoy.png (309.63 KiB) Viewed 10561 times
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: DBTreeView alternative?

Postby ngervasi » Fri Jul 05, 2013 12:24 pm

Very cool! Any more info you can share about it?
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: DBTreeView alternative?

Postby Peter de Groot » Fri Jul 05, 2013 1:17 pm

Wow, looks great.
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Re: DBTreeView alternative?

Postby pbakker » Fri Jul 05, 2013 5:06 pm

Hey, great work David.

How will you release this, as we've also planned to wrap SlickGrid into a module shortly.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: DBTreeView alternative?

Postby david » Fri Jul 05, 2013 8:42 pm

pbakker wrote:Hey, great work David.

How will you release this, as we've also planned to wrap SlickGrid into a module shortly.


Thanks! Open to suggestions. We've tossed around the idea of trying something different and running it as a "Kickstarter" project:

1. Enterprise contributor, $2,000 (target: 5)

- access to project (wiki and forums)
- access to SVN (with commit privileges if Troy likes your code)
- voting on feature priorities
- help setting up styles/css for your frameworks/apps

2. Developer contributor, $500 (target: 10)

- access to project (wiki and forums)
- access to periodic builds (every 4-6 weeks)

Initial build out the gate will include implementations for:

• formatters
• CRUD methods
• validation methods
• example: million row grid (Servoy table)
• example: tree view

Of course, we should throw in the all important T-shirts for everyone! :)


In all seriousness, we'd be glad to MIT open source this project given a little bit of help. As we all know, there's a significant gap between developing something for internal use and something for everyone to use. In the end, it's easier for us to put that extra effort into something else and keep this as a Data Sutra customer feature unless convinced otherwise.

In the meantime, our clients are freaking out about this stuff and we're working furiously to get into production systems as fast as possible. As in...next week. I can confirm that this is absolutely the way to go if serious about web client.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: DBTreeView alternative?

Postby david » Sat Jul 06, 2013 12:01 am

Million rows in tree view with data type specific inline data entry:

Image
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: DBTreeView alternative?

Postby Harjo » Sat Jul 06, 2013 11:51 am

wow! Look at the performance of this: http://mleibman.github.io/SlickGrid/exa ... aview.html

That would give Servoy (webclient) a boost!!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: DBTreeView alternative?

Postby david » Wed Jul 10, 2013 8:38 pm

Side note: the data broadcasting technique we came up with for this Slickgrid component can be used with any client-side component -- calendars, schedulers, gantt, Trello mashups, time keeping UI's, interactive "what-if" charts, shared controllers, etc. Takes some client-side coding skills to wire things up the first time but the end results sure beats creating these kinds of high level components with servoy design-time objects or solution model.

The technique hooks directly into Servoy's broadcast method and only sends changes (as JSON). End result is components stay in sync with non-client-side data and very lightweight on the network.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: DBTreeView alternative?

Postby david » Fri Jul 26, 2013 10:28 pm

Troy and I just posted a demo of the Slickgrid component for Servoy. Covering Servoy IDE integration, amazing client-side performance, and some geek-mode on the magic sauce going on making it all work transparently to the developer:

http://www.youtube.com/watch?v=nBASQTuO ... VummJC7kpQ
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: DBTreeView alternative?

Postby Harjo » Sun Jul 28, 2013 1:27 pm

Looking very promising David & Troy!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: DBTreeView alternative?

Postby david » Thu Aug 01, 2013 12:32 am

Harjo wrote:Looking very promising David & Troy!


Thanks Harjo :)

If someone on the Europe side of the pond is available for testing tomorrow, I could use some quick testing help. We have a full app running all slickgrids on a server here in the U.S.—would like to look over your shoulder while you click around to see how it performs.

It's screaming here. In fact we're probably going to have to put in a click throttler for grids that load up servoy forms so the user doesn't get too far ahead of themselves.

skype: soltexdw
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: DBTreeView alternative?

Postby david » Tue Aug 27, 2013 9:09 pm

Servoy's tree bean restyled:

dbtreeview sutra style.png
dbtreeview sutra style.png (327.74 KiB) Viewed 10058 times


Checkbox is all done with CSS and even has a cool "depressed" state. CSS for this trick (put in "../servoy-webclient/templates/default/servoy_web_client_default.css" file:

Code: Select all
table.wicket-tree-content table.icon-panel input[type=checkbox] {
   font-size: 16px;
   position: relative;
   border: 1px solid #262626;
   display: inline-block;
   margin-right: 5px;
   padding: 0;
   width: 14px;
   height: 14px;
   vertical-align: text-top;
   background: -webkit-linear-gradient(
      top, rgba(255,255,255,0.4), rgba(255,255,255,0.1)
   );
   -webkit-appearance: none;
   -webkit-box-shadow: 0 1px 0 rgba(255,255,255, 0.1),
      inset 0 0 1px rgba(255,255,255, 0.4);
   -webkit-border-radius: 3px;
}

table.wicket-tree-content table.icon-panel input[type=checkbox]:active {
   background: -webkit-linear-gradient(
      top, rgba(255,255,255,0.05), rgba(255,255,255,0.2)
   );
}

table.wicket-tree-content table.icon-panel input[type=checkbox]:checked::after {
   position: absolute;
   content: '';
   left: 15%;
   top: -10%;
   height: 35%;
   width: 90%;
   border-bottom: 2px solid #bbb;
   border-left: 2px solid #bbb;
   -webkit-box-shadow: -1px 1px 0 rgba(0,0,0,0.8);
   -webkit-transform: rotate(-45deg);
}


The images for open folder, closed folder, and file are our own creations and use the url rewrite technique (described here) to divert Servoy's default path for the tree graphics.

In other news, Sutra CMS is going completely web client....
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

PreviousNext

Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 16 guests

cron