Page 1 of 5

FiveWeb

PostPosted: Thu Jan 15, 2015 5:42 am
by cdmmaui
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,

Re: FiveWeb

PostPosted: Thu Jan 15, 2015 9:58 am
by Antonio Linares
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 :-)

Re: FiveWeb

PostPosted: Thu Jan 15, 2015 5:51 pm
by hmpaquito
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.

Re: FiveWeb

PostPosted: Fri Jan 16, 2015 5:25 am
by Antonio Linares
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 :-)

Re: FiveWeb

PostPosted: Fri Jan 16, 2015 8:25 am
by lucasdebeltran
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.

Re: FiveWeb

PostPosted: Fri Jan 16, 2015 8:55 am
by Antonio Linares
What database to use for it ? :-)

Re: FiveWeb

PostPosted: Fri Jan 16, 2015 10:28 am
by thefull
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

Re: FiveWeb

PostPosted: Fri Jan 16, 2015 11:38 am
by Antonio Linares
Rafa,

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


Eso es exactamente lo que hace FiveWeb :-)

Re: FiveWeb

PostPosted: Sun Jan 18, 2015 3:20 am
by cdmmaui
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!

Re: FiveWeb

PostPosted: Sun Jan 18, 2015 12:00 pm
by Antonio Linares
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 :-)

Image

http://code.google.com/p/fiveweb/wiki/Index

Re: FiveWeb

PostPosted: Mon Jan 19, 2015 12:41 pm
by hmpaquito
Antonio,

Tutorial magnific.

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

doubts, contributions, suggestions...

Regards

Re: FiveWeb

PostPosted: Mon Jan 19, 2015 5:09 pm
by D.Fernandez
Antonio:

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

Gracias.

Saludos

Re: FiveWeb

PostPosted: Mon Jan 19, 2015 5:19 pm
by cnavarro
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

Re: FiveWeb

PostPosted: Mon Jan 19, 2015 7:06 pm
by D.Fernandez
Muchas gracias....Probando....

Re: FiveWeb

PostPosted: Mon Jan 19, 2015 7:54 pm
by D.Fernandez
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