[ANNOUNCEMENT] Alternative webclient CSS new version

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

[ANNOUNCEMENT] Alternative webclient CSS new version

Postby Harjo » Wed Dec 12, 2012 10:52 am

I have uploaded a new version of the custom CSS for Servoy 6.1.x & higher

This CSS is completely build up from the ground again, with lot's of tweaks & fixes.
Also much better crossbrowser support.

Please try it out, and let me know, your ideas.

https://www.servoyforge.net/news/345
Harjo Kompagnie
byKom B.V.
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: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby Peter de Groot » Thu Dec 13, 2012 12:08 am

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

Re: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby david » Tue Jan 01, 2013 12:18 am

Love the new tooltips.
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: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby Harjo » Tue Jan 01, 2013 2:41 am

Glad you like it! :)
Harjo Kompagnie
byKom B.V.
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: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby robwormald » Mon Feb 11, 2013 10:08 pm

Harjo -

Thanks for pointing the way with this CSS stuff. I've taken your starting template and built a version that mimics Twitter's Bootstrap framework.

One question though - Twitter's bootstrap has 2 different styles of tab panels, and I'm wondering if there's a quick way to switch between them?

At the moment I'm using one style as the "default" - and using the WebClient utils to apply the extra (alternate) class when I show the form. Can you recommend a cleaner way to do this?
robwormald
 
Posts: 20
Joined: Sun Feb 13, 2011 7:55 am

Re: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby Harjo » Tue Feb 12, 2013 2:36 am

No if you want to be styleclasses be not fixed, but adjustable, you have to use webclient utils plugin indeed!
Harjo Kompagnie
byKom B.V.
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: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby david » Wed Feb 13, 2013 10:40 pm

Instead of hand coding this style change every time you use it, you can use designTimeProperty (new in 6.1?) to tag tab panels that you want to apply an alternate style to. Then on the forms onShow event, trap for the key|value you are using and apply the style.

We use this approach for specifying web client input fields html "placeholder" attribute and searching for more uses now that we know about it. Great way to extend Servoy's editor.
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: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby Harjo » Thu Feb 14, 2013 12:07 pm

Great tip David, we are doing some stuff almost like this,
but it still feels like hacking around, don't you agree?

I hope Servoy finds a way in the future, where we can add in Servoy (in de IDE) some kind of CSS/javascript framework, like bootstrap, jquery mobile, or your own, fancy custom CSS, whatever.. and from there we can set components, labels, fields, etc.. right away to right class.
Harjo Kompagnie
byKom B.V.
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: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby david » Thu Feb 14, 2013 8:15 pm

I actually like the use of key/value pairs to provide customization beyond what is provided out of the box. We use this pattern ourselves quite often. The content structure of Sutra CMS for example is one table of key/value pairs that accommodates any number and variation of content blocks (unlike other CMS's where each custom content block requires a unique table).

Using key/value pairs always comes with a trade-off that may seem hacky. For example, we had to formalize a process to write CRUD forms in Servoy based on form variables, a form setup description object (also a form variable), and getter/setter methods to push/pull the data between the form and the key/value store.

The end result though is that we have one management screen for all content blocks, it is easy to search for particular data, we can switch that table (which can get quite large) to a high performance noSQL datastore, and we completely and cleanly abstracted out a section of the product that can be as complex and variable as it needs to be.

What I do agree with you on is the notion of making the Servoy IDE more easily customizable. Servoy's strong point has always been its ability to integrate and connect to anything. We call it the Swiss Army Knife of development tools for good reasons.

So moving forward I think Servoy needs to recognize that integrating javascript/html5/css components is a huge thing. This is where the innovation is happening right now. Currently you and us and a few others are doing this with awesome results but have to work around the IDE.

Now obviously if you're a Java developer, adding a custom component into Servoy's editors is doable. Most of us using Servoy are not Java developers though and getting tooled up for writing an Eclipse/Servoy plugin is a real hassle without some handholding. When Patrick Talbot came along and did this, how many of us went "wow!" and worked through his tutorials step-by-step? And we found it wasn't all that hard once you knew where to put everything.

What I would like to see is Servoy do the same thing for writing a custom Servoy editor component that integrates some js component. Give us the completed Eclipse project and describe how to get there from the point we download Eclipse and install the Servoy open source components. Integrating qTip into Servoy editor for example would be awesome.

I imagine that in the process of putting this example project together, Servoy would find places to simplify various integration points. This would improve Servoy.

If we had something like this, we would go nuts augmenting the Servoy IDE.
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: [ANNOUNCEMENT] Alternative webclient CSS new version

Postby Harjo » Thu Feb 14, 2013 8:43 pm

+1 I couldn't agree more
Harjo Kompagnie
byKom B.V.
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


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 2 guests

cron