FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FiveWeb
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
FiveWeb
Posted: Thu Jan 15, 2015 05:42 AM

Dear Antonio,

I wanted to find if there has been any progress on FiveWeb? We have customers demanding a web solution and we really need to provide a solid answer on whether we can convert a FiveWin application to FiveWeb. I have developed an application back in early 2000s using xBase++ (1.90) with Clipweb & CSS which has worked very well. With the release of xBase++ (2.0) which allows for SQL integration I need to make a decision on moving to xBase++ 2.0 or FiveWeb. If you could provide some direction I would greatly appreciate it as I need to make a decision by the end of the month.

Thank you in advance for your assistance.

Sincerely,

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb
Posted: Thu Jan 15, 2015 09:58 AM

Darrell,

With Harbour you have full ADO support which means that you have full SQL support, so you really don't need xBase++

FiveWeb works similar to ClipWeb, so if using ClipWeb you were able to build your app, then you have everything you need with Harbour and FiveWeb :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1515
Joined: Thu Oct 30, 2008 02:37 PM
Re: FiveWeb
Posted: Thu Jan 15, 2015 05:51 PM

Antonio

Yo creo que a FiveWeb le falta una cosa muy importante, a saber: que tires tu del carro. Los desarrolladores necesitamos entornos que esten un poco probados, no que seamos los primeros y por tanto los que nos daremos de topazos.

Si tuvieramos un programa "minimo" sobre el que empezar a trabajar, con un par de entornos SO/Navegador probados probablemente todo seria mas facil. Me diera a mi que muchos de los que andamos por aqui no disponemos del tiempo para hacer pruebas y descubrimiento de errores.

Asi que lo que yo propongo es que se haga un programa demo de cierta envergadura, que haga pensar al que lo vea ¡ oiga ! con esto y un puñado de cosas mas me hago yo un programita para esto o aquello.

Sé que tu modelo fue public, pero ya has visto que eso es insuficiente. Necesitamos que la herramienta de garantias... ¿ que garantias ? Pues las garantias que quiere el que va a empezar un proyecto y no quiere quedarse a medio porque han surgido esta o aquella incompatibilidad o no le funcione 100% este o aquel control

Atentamente.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb
Posted: Fri Jan 16, 2015 05:25 AM

Paco,

Me parece bien. Si nos ponemos de acuerdo en las opciones básicas que se necesitan, yo me comprometo a ir construyéndolo :-)

Darrell,

If we agree on the basic funcionality that we all need, I will build it step by step :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: FiveWeb
Posted: Fri Jan 16, 2015 08:25 AM

Hola,

Muy buena idea. Por ejemplo, podría ser una pequeña aplicación de facturación, con artículos, clientes, proveedores, compras y ventas, o al menos inicialmente una aplicación para gestionar los clientes (altas, bajas, modificaciones, consultas, listados, informes, etc). Esto sería un muy buen comienzo para empujar el proyecto en mi opinión.

Muchas gracias.

Hello,

Very good idea. For example, it might be a little app for billing: articles, customers, suppliers, purchasing and sales, or at least initially an application to manage customers (add, delete, consult, browse, list, reports, etc). This would be a very good start to push the project in my opinion.

Thank you very much.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb
Posted: Fri Jan 16, 2015 08:55 AM

What database to use for it ? :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 731
Joined: Fri Oct 07, 2005 07:42 AM
Re: FiveWeb
Posted: Fri Jan 16, 2015 10:28 AM
Buenas

Yo he estado jugando con esto, y parece interesante, http://sourceforge.net/projects/hmgweb/
La idea es que hacer el sistema a traves de cgi-bin, lanzar ejecutables de harbour, pero estos, son muy pequeños, porque el codigo de harbour y librerias de 3 estan en dlls.

Otra idea que me ha gustado y veo que sería interesante es hacer un wrapper de Sencha, tal y como tiene Delphi,http://www.unigui.com/
El ejemplo es brutal http://prime.fmsoft.net/demo/ucdemo.dll

El wrapper que podriamos usar para pasar a Harbour, https://code.google.com/p/extpascal/, y que permite usar Delphi para Web.

Lo que hay que evitar es intentar HACER un servidor Web, no tiene sentido, además, que tendríamos que preocuparnos de una capa de más.

Con respecto a las BD, no importa , ni debería de importar, al menos de entrada, y si fuese el caso, por favor, HUIR de soluciones propietarios y/o cerradas, lo único
que conseguiremos es encerrarnos en nuestro propio universo.

Saludos Cordiales
Saludos

Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb
Posted: Fri Jan 16, 2015 11:38 AM
Rafa,

La idea es que hacer el sistema a traves de cgi-bin, lanzar ejecutables de harbour


Eso es exactamente lo que hace FiveWeb :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: FiveWeb
Posted: Sun Jan 18, 2015 03:20 AM

Dear Antonio,

Where can I get a working example of FiveWeb? Including technical documentation on configuring the server.

I need to run on Windows 2008 or Windows 2012 with MS SQL. I would like to be able to incorporate HTML5, CSS, Javascript, and other other languages in order provide a complete commercial solution to customers. I have a very high demand for web enabled products and I really would love to stay with Harbour and FiveWin.

Thanks in advance for your assistance!

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb
Posted: Sun Jan 18, 2015 12:00 PM
Darrell,

In order to start working with FiveWeb, first thing you need is to install a web server on your pc, so you can locally test your app:

1. Download Xampp from here:

http://sourceforge.net/projects/xampp/

2. Install it and start apache from Xampp control (on the taskbar)

3. In order to check that it is properly working, go to Chrome and write: 127.0.0.1

You should see Xampp welcome screen.

4. Download FiveWeb from here:

http://code.google.com/p/fiveweb/downloads/detail?name=fiveweb_1.3.zip

5. Unzip it in c:\fiveweb

6. go to c:\fiveweb and run go.bat. FiveWeb will be created and will be ready to be used.

7. go to c:\fiveweb\samples folder and write:

build.bat tutor01

8. You will get a tutor01.exe. Copy it to your xampp\cgi-bin folder

9. Go to Chrome to this address 127.0.0.1/cgi-bin/tutor01.exe

10. Welcome to FiveWeb :-)



http://code.google.com/p/fiveweb/wiki/Index
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1515
Joined: Thu Oct 30, 2008 02:37 PM
Re: FiveWeb
Posted: Mon Jan 19, 2015 12:41 PM

Antonio,

Tutorial magnific.

Ey guys... a tool for easy development web applications...

doubts, contributions, suggestions...

Regards

Posts: 555
Joined: Wed Jul 31, 2013 01:14 PM
Re: FiveWeb
Posted: Mon Jan 19, 2015 05:09 PM

Antonio:

Como cambio el path de Harbour en winmake.win? No me doy cuenta :oops:

Gracias.

Saludos

Dario Fernandez

FWH 2501, Harbour, MVS2022 Community, MySql & MariaDB, Dbf/Cdx VSCode.

Maldonado - Uruguay
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: FiveWeb
Posted: Mon Jan 19, 2015 05:19 PM
En el fichero Makefile_win


/obj/%.obj : ./obj/%.c
c:\Borland\bcc582\bin\bcc32 -c -I./../harbour/include -o$@ $<
c:\Borland\bcc582\bin\tlib lib\fiveweb -+ obj\$*.obj

./obj/%.c : ./source/function/%.prg
.\..\harbour\bin\harbour $< -o.\$@ -n -I.\..\harbour\include -I.\include

./obj/%.c : ./source/classes/%.prg
.\..\harbour\bin\harbour $< -o.\$@ -n -I.\..\harbour\include -I.\include


se da por hecho que está instalado en c:\harbour y la carpeta samples está en c:\fiveweb\samples
Cambialo en las tres lineas anteriores
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 555
Joined: Wed Jul 31, 2013 01:14 PM
Re: FiveWeb
Posted: Mon Jan 19, 2015 07:06 PM

Muchas gracias....Probando....

Dario Fernandez

FWH 2501, Harbour, MVS2022 Community, MySql & MariaDB, Dbf/Cdx VSCode.

Maldonado - Uruguay
Posts: 555
Joined: Wed Jul 31, 2013 01:14 PM
Re: FiveWeb
Posted: Mon Jan 19, 2015 07:54 PM

Andando...
Tutor01 y testmenu... funcionando :D :D :D :D :D

Tengo estos errores en testbrow.prg
Linea 14,16,18,20,22,24,26,28
Sintax error "syntac error at '@'"

No se ve en Firefox

Gracias
Saludos

Dario Fernandez

FWH 2501, Harbour, MVS2022 Community, MySql & MariaDB, Dbf/Cdx VSCode.

Maldonado - Uruguay