New topic: When to use RS and when not to
<http://forums.realsoftware.com/viewtopic.php?t=47671> Page 1 of 1 [ 8 posts ] Previous topic | Next topic Author Message traustitj Post subject: When to use RS and when not toPosted: Mon Apr 22, 2013 7:38 am Joined: Wed Oct 19, 2005 8:21 am Posts: 134 Location: Norway Not trying to do do any flames here. Hi all. I have been testing the web edition quite a lot for the latest weeks. Above all, I am just almost in love with it. For my understanding, it is almost useful. But I could be and am most likely wrong. I really want to use RS Web for a lot of things I have in my head. But all my web development so far has been, well, web development with javascript, css and html. So if I want to make a list of something, I can do so with a table tag, and put images in cells, checkbuttons and so much more there and with a lot of code it can appear to be live, like uploading and so forth. For one simple example. I want to do an employee search. And of course listing them inside listbox is all good and well. But how can I do a list box with the employee thumbnail photo in there ? Also, I have a need for doing dropdown menu with images. Is that possible ? And finally, grid view. I know RS doesn't even have one for RS itself. But I have in the past made one with the canvas. So how is the webcanvas working out in browsers ? Could it work for doing grid view, I am talking about similar as Apples Collection view, easily solved with a graphical listbox. Anyone willing to share their web application to show ? What I am mostly after, is where would people draw the line on using normal web tools and when to use WE ? _________________ ========================= Merge pdfs, free. www.mergepdfs.com ========================= Top msssltd Post subject: Re: When to use RS and when not toPosted: Mon Apr 22, 2013 10:52 am Joined: Fri Oct 28, 2005 7:05 am Posts: 555 Location: Emsworth, UK traustitj wrote:So how is the webcanvas working out in browsers ?Somewhere on the forum is a thread, where I was struggling to get a WebCanvas to update a dynamically generated chart - It was pretty simple stuff really. I could (even) save the refreshed graphic out to a file but the browser simply refused to update the rendition. No one could suggest a way around. Dynamic graphics seems such a fundamental thing to want to do with any GUI these days, I haven't touched Web Edition since. As far as I can tell, it seems to be a case of having to design your application around WE's implementation, rather than designing an application and then implementing it with WE. _________________ Yes it's me in the avatar Top Jason_Adams Post subject: Re: When to use RS and when not toPosted: Mon Apr 22, 2013 2:51 pm Joined: Fri Nov 10, 2006 4:10 pm Posts: 1794 Location: Michigan, USA Just out of curiosity, have you checked out Web Custom Controls by Taylor Design? I know the WebListBox he has supports images. _________________ Windows 7 Ultimate x64 Windows XP Pro SP3 Ubuntu 11.04 via Virtual Box RS Enterprise 2012r1.1 Programming Tutorials & Free Projects: http://www.JasonTheAdams.com "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton Top traustitj Post subject: Re: When to use RS and when not toPosted: Mon Apr 22, 2013 2:56 pm Joined: Wed Oct 19, 2005 8:21 am Posts: 134 Location: Norway Before I buy any plugins, I want to know if I can make them myself. I have bought some components in the past that bit me in the behind as the others just disappeared and I had made them integral in my apps. But I usually buy stuff when it saves me work. _________________ ========================= Merge pdfs, free. www.mergepdfs.com ========================= Top Jason_Adams Post subject: Re: When to use RS and when not toPosted: Mon Apr 22, 2013 3:08 pm Joined: Fri Nov 10, 2006 4:10 pm Posts: 1794 Location: Michigan, USA WE really opened itself up with the introduction of the WebControl SDK. This allows you to put a lot of power back into the browser as you create (or, more often, adopt) javascript controls. If you'd rather not try someone else's work, that's certainly a feasible way to go. Also, I don't believe those are plugins; they're custom controls. _________________ Windows 7 Ultimate x64 Windows XP Pro SP3 Ubuntu 11.04 via Virtual Box RS Enterprise 2012r1.1 Programming Tutorials & Free Projects: http://www.JasonTheAdams.com "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton Top taylor-design Post subject: Re: When to use RS and when not toPosted: Mon Apr 22, 2013 3:28 pm Joined: Wed Mar 22, 2006 11:15 am Posts: 656 Location: Southern California Jason - thank you for the mention! traustitj wrote:Before I buy any plugins, I want to know if I can make them myself. I have bought some components in the past that bit me in the behind as the others just disappeared and I had made them integral in my apps. But I usually buy stuff when it saves me work. The Web Custom Controls license includes the full source code for that very reason. It's all Realbasic, HTML, CSS, and JavaScript. I don't encrypt or hide any of it. I've been bitten as well by plugins that disappeared, and I don't want my customers to have to worry about that. WebListBoxTD lets you include images, links, etc. in a cell. There's also a freeware option called WebGrid from Lobo:Labs. See: viewtopic.php?f=23&t=40663 http://www.talentrik.com/cgi-bin/webgrid/webgrid.cgi The differences between them: WebListBoxTD - subclasses WebListBox so most of your existing WebListBox code works. Quick and easy way to expand the content which can be displayed in a cell. WebGrid - different programming model from WebListBox; takes longer to setup. BUT...everything in a WebGrid is an actual WE control, so you have more flexibility in terms of events and behavior. I've used both in different projects. Just depends on which one fit the specific need. _________________ Daniel L. Taylor Custom Controls for Real Studio WE! Visit: http://www.webcustomcontrols.com/ Top taylor-design Post subject: Re: When to use RS and when not toPosted: Mon Apr 22, 2013 3:43 pm Joined: Wed Mar 22, 2006 11:15 am Posts: 656 Location: Southern California msssltd wrote:Somewhere on the forum is a thread, where I was struggling to get a WebCanvas to update a dynamically generated chart - It was pretty simple stuff really. I could (even) save the refreshed graphic out to a file but the browser simply refused to update the rendition. No one could suggest a way around. I'm curious: were you drawing directly to the WebCanvas, or creating a picture and then drawing the picture to the WebCanvas? Pictures have to be downloaded by the browser and that can create timing issues. Basically you can run into a situation where if the picture is not downloaded yet, the browser will drop canvas commands that involve it. This isn't a WE issue, but just a general issue to be aware of with the browser canvas element. You can take steps to make sure that the picture is downloaded and ready before issuing the drawing commands. Web Custom Controls makes this a little easier, but you can do it with straight WE. Quote:Dynamic graphics seems such a fundamental thing to want to do with any GUI these days, I haven't touched Web Edition since. My jCanvas based control offers direct support for animation (2 forms actually: simple client side, and more complex client/server interactive), and it can be treated as a vector surface rather than a raster surface. So instead of redrawing everything, you can keep a list of objects drawn to the control and just change their properties. _________________ Daniel L. Taylor Custom Controls for Real Studio WE! Visit: http://www.webcustomcontrols.com/ Top taylor-design Post subject: Re: When to use RS and when not toPosted: Mon Apr 22, 2013 3:55 pm Joined: Wed Mar 22, 2006 11:15 am Posts: 656 Location: Southern California traustitj wrote:What I am mostly after, is where would people draw the line on using normal web tools and when to use WE ? In response to your broader question: I try to determine the best tool for any job before me. Sometimes that's Real Studio, sometimes it's something else. WE is still young and has some limitations and issues, and that needs to be considered in any project. That said, a lot of what people run into boils down to differences between the desktop and web that they were not aware of; minor bugs with work arounds; and missing features/controls. I can say that there are sites which are simply not candidates for WE. And there are sites I look at and think "this could be so much better in WE!" _________________ Daniel L. Taylor Custom Controls for Real Studio WE! Visit: http://www.webcustomcontrols.com/ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 8 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
