Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8340 > unrolled thread
| Started by | Sergio <ingenierialym@gmail.com> |
|---|---|
| First post | 2015-08-18 08:55 -0700 |
| Last post | 2015-08-26 15:19 -0500 |
| Articles | 15 — 6 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
VO 2 web Sergio <ingenierialym@gmail.com> - 2015-08-18 08:55 -0700
Re: VO 2 web "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-08-19 11:38 +0200
Re: VO 2 web D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-08-19 14:03 +0200
Re: VO 2 web "Willie Moore" <williem@wmconsulting.com> - 2015-08-19 12:16 -0500
Re: VO 2 web D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-08-20 11:10 +0200
Re: VO 2 web ingenierialym@gmail.com - 2015-08-20 05:57 -0700
Re: VO 2 web "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-08-20 15:38 +0200
Re: VO 2 web D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-08-21 15:47 +0200
Re: VO 2 web "Willie Moore" <williem@wmconsulting.com> - 2015-08-21 10:05 -0500
Re: VO 2 web "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-08-23 11:01 +0200
Re: VO 2 web Franz Rachbauer <office@rachbauer.org> - 2015-08-23 18:11 +0200
Re: VO 2 web D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-08-26 21:03 +0200
Re: VO 2 web Franz Rachbauer <office@rachbauer.org> - 2015-08-27 07:54 +0200
Re: VO 2 web "Willie Moore" <williem@wmconsulting.com> - 2015-08-26 14:15 -0500
Re: VO 2 web "Willie Moore" <williem@wmconsulting.com> - 2015-08-26 15:19 -0500
| From | Sergio <ingenierialym@gmail.com> |
|---|---|
| Date | 2015-08-18 08:55 -0700 |
| Subject | VO 2 web |
| Message-ID | <8ccd36f1-3bd9-49eb-9eef-73af175ea967@googlegroups.com> |
Hello, I would like advices on how VO application migrates to web. Thanks in advance. Sergio
[toc] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2015-08-19 11:38 +0200 |
| Message-ID | <d3j14kF6qptU1@mid.individual.net> |
| In reply to | #8340 |
Hi Sergio, > Hello, I would like advices on how VO application migrates to web. a VO application is a normal Win32 application, and if you cannot rewrite it from scratch as Web application, the best thing would be to migrate to terminal server or Citrix environment. Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2015-08-19 14:03 +0200 |
| Message-ID | <avp8ta5gp3lj7numgoohvrdelbbufm6q5o@4ax.com> |
| In reply to | #8340 |
On Tue, 18 Aug 2015 08:55:48 -0700 (PDT), Sergio <ingenierialym@gmail.com> wrote: Hello Sergio, >Hello, I would like advices on how VO application migrates to web. > We have several webprograms running written in VO on several websites. They origin from the CGI example you will find in the subfolder of Cavo \Samples\Internet\Cgi. Basically these programs read parameters or react on GET/POST messages (e.g. a user clicking a button in a HTML webform). It's then fairly standard VO code processing the information, assembling a HTML file with output and posting that to the website. Advantage is that specific business logic (e.g. VO code with a price calculation based on several sorts of data and input) can be used 1:1 within the webprogram. There's one disadvantage. You will need to find a provider willing to give you CGI executable rights. As your VO CGI exe could be programmed with format c: (formatting the whole server) not every ISP is willing to do that (we are dealer of an ISP who will do that). The advantage is that the code is pretty save towards hackers because nobody knows how your code is working so they can't exploit it. Dick
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2015-08-19 12:16 -0500 |
| Message-ID | <mr2dlp$pf1$1@speranza.aioe.org> |
| In reply to | #8340 |
Sergio, You can use asp with your business objects written in VO. You write a COM object in VO and the web site accesses the VO code the same way as they would ADO. The big issue is finding a ISP that will let you register a COM Object. Godaddy will if you use a dedicated server. They will not on a shared service. BUT if you use Vulcan to compile the code, you just put the dll in your bin folder and it can be used in any asp.net app. Regards, Willie Vulcan VIP Grafx Development Team "Sergio" wrote in message news:8ccd36f1-3bd9-49eb-9eef-73af175ea967@googlegroups.com... Hello, I would like advices on how VO application migrates to web. Thanks in advance. Sergio
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2015-08-20 11:10 +0200 |
| Message-ID | <736btahiia7j17a3aqesfg5au93dkk9mgn@4ax.com> |
| In reply to | #8343 |
On Wed, 19 Aug 2015 12:16:41 -0500, "Willie Moore" <williem@wmconsulting.com> wrote: Hello Willie, >BUT if you use Vulcan to compile the code, you just put the >dll in your bin folder and it can be used in any asp.net app. > That will most certainly be a problem with most ISP's too because the Vulcan DLL is 32 bits and most ISP have their server configured for 64 bits as I found out. Even the ISP I use which does allow my VO exe's. My solution (but this is for WCF, only to get the idea): 1 Create the client in Vulcan (useful for using DBF files) 2 Create the interface in Vulcan 3 Create the (web)service in Vulcan; content is not important because it's not used. 4 Create a client in C# content is not important because it's not used. 5 Create the interface in C# 6 Create the (web)service in C# Now 1+2 (exe and DLL) are used on a PC to synchronize data. On the webserver, we put 5+6. This works fine. Thanks to Nick Friend who has figured out the basics. Dick
[toc] | [prev] | [next] | [standalone]
| From | ingenierialym@gmail.com |
|---|---|
| Date | 2015-08-20 05:57 -0700 |
| Message-ID | <da3eafac-3c72-4c2e-8942-296c157ddf7d@googlegroups.com> |
| In reply to | #8340 |
Thanks Wolfgang, Willie and Dick. I explain better: I need migrate to a web version, for use on an intranet; there are customers who do not want Win32 applications, but web to manage a single instalation. For my application I use SQL Server no DBF, but the application is big and the interface is important. Thought of C #, I do not know if it's the best option.(PHP ?) Sorry my bad english. Sergio
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2015-08-20 15:38 +0200 |
| Message-ID | <d3m3j3Fue6pU1@mid.individual.net> |
| In reply to | #8349 |
Hi Sergio, > I explain better: I need migrate to a web version, for use on an > intranet; there are customers who do not want Win32 applications, but > web to manage a single instalation. For my application I use SQL > Server no DBF, but the application is big and the interface is > important. Thought of C #, I do not know if it's the best option.(PHP > ?) Sorry my bad english. a "migration" to a web version is a complete rewrite. Personally I would write a web service in Vulcan.NET so you can keep your business code in a language similar to VO, and use a thin html/php/Javascript layer for the user interface. Keeping the business logic in compiled code would also protect your code from modifcations by your customers. Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2015-08-21 15:47 +0200 |
| Message-ID | <upaeta5c4jhunfcj3oombjbaianr5s123e@4ax.com> |
| In reply to | #8350 |
On Thu, 20 Aug 2015 15:38:43 +0200, "Wolfgang Riedmann" <wriedmann@gmail.com> wrote: Hello Wolfgang, >Personally I would write a web service in Vulcan.NET so you can keep >your business code in a language similar to VO, and use a thin >html/php/Javascript layer for the user interface. > >Keeping the business logic in compiled code would also protect your >code from modifcations by your customers. > That won't work in most webservers because Vulcan DLL's resulting are 32 bits , see my comments above. A 32 bits VO exe (the CGI technology) does not seem to be a problem, for the few ISP's accepting exe's. I would used C#, e.g. a C# DLL combined with ASP for the user interface. You do need a Windows server for that. Otherwise html/php is the most logical next way.Javascript is more often blocked than PHP. Dick
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2015-08-21 10:05 -0500 |
| Message-ID | <mr7ene$vgb$1@speranza.aioe.org> |
| In reply to | #8353 |
Dick, Vulcan can produce dlls that will run on every web server. You use the corlib -32 on the dll to remove the 32bit flag. But that only works if you are not using macros, usuals, vulcan runtime functions. On my solutions that run on the web, I pur the corlib in the postbuild event so VS does it for me and I do not have to remember to do it before I publish. When I say vulcan functions I mean things like this: allltrim(cStr) ---> cStr:Trim() substr(cStr,1,2) ---> cStr:Substring(0,2) // strings in dotNet Runtime are always zero based Regards, Willie Vulcan VIP Grafx Development Team "D.J.W. van Kooten" wrote in message news:upaeta5c4jhunfcj3oombjbaianr5s123e@4ax.com... On Thu, 20 Aug 2015 15:38:43 +0200, "Wolfgang Riedmann" <wriedmann@gmail.com> wrote: Hello Wolfgang, >Personally I would write a web service in Vulcan.NET so you can keep >your business code in a language similar to VO, and use a thin >html/php/Javascript layer for the user interface. > >Keeping the business logic in compiled code would also protect your >code from modifcations by your customers. > That won't work in most webservers because Vulcan DLL's resulting are 32 bits , see my comments above. A 32 bits VO exe (the CGI technology) does not seem to be a problem, for the few ISP's accepting exe's. I would used C#, e.g. a C# DLL combined with ASP for the user interface. You do need a Windows server for that. Otherwise html/php is the most logical next way.Javascript is more often blocked than PHP. Dick
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2015-08-23 11:01 +0200 |
| Message-ID | <d3tgelForlaU1@mid.individual.net> |
| In reply to | #8353 |
Hi Dick, as I'm maintaining my own Linux servers for the PHP/MySQL solutions that my wife works on, I'm also planning to maintain my own Windows webserver in a datacenter near to the city where I live. Since most software is business critical, I have 24/7 access to this datacenter. So I have no problems to use my onw software on the web server, and can select what I feel the best thing. (For sure, parts will be in C# also) Wolfgang D.J.W. van Kooten wrote: > On Thu, 20 Aug 2015 15:38:43 +0200, "Wolfgang Riedmann" > <wriedmann@gmail.com> wrote: > > Hello Wolfgang, > > > Personally I would write a web service in Vulcan.NET so you can keep > > your business code in a language similar to VO, and use a thin > > html/php/Javascript layer for the user interface. > > > > Keeping the business logic in compiled code would also protect your > > code from modifcations by your customers. > > > That won't work in most webservers because Vulcan DLL's resulting are > 32 bits , see my comments above. > > A 32 bits VO exe (the CGI technology) does not seem to be a problem, > for the few ISP's accepting exe's. > > I would used C#, e.g. a C# DLL combined with ASP for the user > interface. You do need a Windows server for that. Otherwise html/php > is the most logical next way.Javascript is more often blocked than > PHP. > > Dick --
[toc] | [prev] | [next] | [standalone]
| From | Franz Rachbauer <office@rachbauer.org> |
|---|---|
| Date | 2015-08-23 18:11 +0200 |
| Message-ID | <mrcrbo$hvo$1@speranza.aioe.org> |
| In reply to | #8350 |
Hi Sergio, as Wolfgang says: > a "migration" to a web version is a complete rewrite. So I used my first webapp to learn PHP. It's much more simplier than VO CGI for webapps (hope that's allowed in a VO forum). Regards, Franz
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2015-08-26 21:03 +0200 |
| Message-ID | <p73statg5ui5biej268l1ocv2vqo6ai7a5@4ax.com> |
| In reply to | #8359 |
On Sun, 23 Aug 2015 18:11:39 +0200, Franz Rachbauer <office@rachbauer.org> wrote: Hello Franz, >So I used my first webapp to learn PHP. It's much more simplier than VO >CGI for webapps (hope that's allowed in a VO forum). > We're all terribly insulted <bg> But seriously - as PHP is used most, you will find many samples and "how to's". But it can be more vulnerable for hacking, and if you have a lot of business logic in VO, you will first have to translate that to PHP while you needn't do that in VO CGI. Dick
[toc] | [prev] | [next] | [standalone]
| From | Franz Rachbauer <office@rachbauer.org> |
|---|---|
| Date | 2015-08-27 07:54 +0200 |
| Message-ID | <mrm8nc$ak1$1@speranza.aioe.org> |
| In reply to | #8374 |
Hi Dick, > > But seriously - as PHP is used most, you will find many samples and > "how to's". But it can be more vulnerable for hacking, and if you have > a lot of business logic in VO, you will first have to translate that > to PHP while you needn't do that in VO CGI. > until now I didn't have the need to transport VO apps to web, so my web apps were all created from the scratch. But I have some apps where VO apps on the clients have to communicate with PHP web apps on the internet. My only problem with PHP is, that I have to upload source code to the provider, which everyone can use if he has access to the webspace! Regards, Franz
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2015-08-26 14:15 -0500 |
| Message-ID | <mrl390$gc$1@speranza.aioe.org> |
| In reply to | #8359 |
Franz, I have done web apps in VO, c#, Vulcan, and PHP. I use whatever language makes sense for the work I am performing. A lot of the PHP work I have done is where I inherited code. If you use PHP, there is a VS extension called VSPHP that gives you intellisense. it runs 99 but that is very little for good intellisenese. Regards, Willie Vulcan VIP Grafx Development Team "Franz Rachbauer" wrote in message news:mrcrbo$hvo$1@speranza.aioe.org... Hi Sergio, as Wolfgang says: > a "migration" to a web version is a complete rewrite. So I used my first webapp to learn PHP. It's much more simplier than VO CGI for webapps (hope that's allowed in a VO forum). Regards, Franz
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2015-08-26 15:19 -0500 |
| Message-ID | <mrl70f$akc$1@speranza.aioe.org> |
| In reply to | #8375 |
it should have said good intellsense without having to learn another editor. Regards, Willie Vulcan VIP Grafx Development Team
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web