Web Preview Image

Questions, tips and tricks and techniques for scripting in Servoy

Re: Web Preview Image

Postby david » Fri Dec 14, 2012 10:33 pm

ptalbot wrote:And BTW, spawning a headless client to invoke a service asynchronously will cost you a license and a good deal of overhead.
While doing it in Velocity will only create a Thread for the duration of the call (on the client or the server, depending on the processType).
Put that in the advantages as well...


I'm just waiting for you to come out with a Velocity to run SWC on one license :)
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: Web Preview Image

Postby ROCLASI » Fri Dec 14, 2012 10:47 pm

Hi David,
david wrote:I'm just waiting for you to come out with a Velocity to run SWC on one license :)


I hope you know where to find the 'Donate' button on the Velocity project.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Web Preview Image

Postby ptalbot » Fri Dec 14, 2012 11:13 pm

david wrote:But installing and setting up a few lines of configuration is not always such a small deal either. Always a learning curve, a new place to keep track of things, a separate piece to keep upgraded, SVN's to setup, etc -- that has to be accounted for. Just because something is free or already done doesn't mean it's free to the user.

Nothing is totally free of course, but if you never start using technologies that can give your solution a huge boost in productivity, then you'll get stuck with yesterday's technology. Is that what you are recommending?
Based on that principle of shying from a certain learning curve, even when there are proven benefits, you would still be using a text editor and writing static html for your web 1.0 sites then, is that it?

I'd say to users "try Velocity" as soon as you can - it's not that difficult anyway, and it will open your dev practices to such a range of extended options that the 'learning curve' will be well invested in no time!
I've been involved in all sorts of projects where the use of Velocity has given users the opportunity to get to the next level, so when I see people who don't know about it, I direct them to it, because once they've mastered the basics they will be empowered with a range of powerful techniques that will generally make their solution better.

As to your quote, I've never said Open Source was to be free, and costs nothing, so I don't get your point...

david wrote:If you're using web services all day long every day -- then I think that the Velocity route makes a lot of sense. If not, it is just another thing that you have to keep track of and when you come back to it three months later (like when you're installing a new server or needing to grab another simple web service) you have to figure it all out again.

This is an important distinction I think.

So based on that distinction, I suppose you are saying to users interested in your frameworks that they should not bother, but do it themselves because they can obviously do all of that in Servoy, right?
Why going through the learning curve of your frameworks, right? ;)
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Web Preview Image

Postby david » Fri Dec 14, 2012 11:19 pm

ptalbot wrote:So based on that distinction, I suppose you are saying to users interested in your frameworks that they should not bother, but do it themselves because they can obviously do all of that in Servoy, right?
Why going through the learning curve of your frameworks, right? ;)


Exactly. It's about the 3'rd option we recommend:

1- If you need a simple solution with a form or two, fire up Servoy and get it done right away.

2- Keep iterating with improvements over time.

3- If you find yourself writing a full application frameworks, time to check our stuff out.
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: Web Preview Image

Postby ptalbot » Sat Dec 15, 2012 12:05 am

You forgot one line of code:
foundset.sort("priority desc") :twisted: ;)
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Web Preview Image

Postby david » Sat Dec 15, 2012 12:29 am

ptalbot wrote:You forgot one line of code:
foundset.sort("priority desc") :twisted: ;)


Close! Slight correction:

Code: Select all
if (application.getApplicationType() == APPLICATION_TYPES.WEB_CLIENT) {
   application.showURL('http://www.data-sutra.com')
}


8)
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: Web Preview Image

Postby ROCLASI » Sat Dec 15, 2012 1:58 am

David wrote:Close! Slight correction:

Code: Select all
if (application.getApplicationType() == APPLICATION_TYPES.WEB_CLIENT) {
   application.showURL('http://www.data-sutra.com')
}

Well, I guess we have to agree to disagree.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Previous

Return to Methods

Who is online

Users browsing this forum: Bing [Bot] and 12 guests