FiveWeb de FiveTech (gratis hasta la versión 1.0)

Frafive
Posts: 189
Joined: Wed Apr 05, 2006 9:48 pm

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Frafive »

Antonio, las pruebas las estoy haciendo con hostspain y con los servidores de dinahosting, servidores linux, en dinahosting tengo en la carpeta cgi-bin un binario de ceca compilando en linux y funciona perfectamente.


Un saludo
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Javier,

Prueba a copiar y ejecutar harbour (el compilador) en el servidor
regards, saludos

Antonio Linares
www.fivetechsoft.com
Frafive
Posts: 189
Joined: Wed Apr 05, 2006 9:48 pm

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Frafive »

Antonio, he copiado harbour y lo he ejecutado y me da este error: Segmentation fault

Un saludo
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Javier,

Se me ocurren dos opciones:

1. Que construyas Harbour en el Linux del propio hosting. Asi tendrás un Harbour compatible con él. Es muy sencillo, aqui tienes las instrucciones:
a) comprueba que svn esté instalado en el servidor. Escribe svn desde una ventana terminal por SSH.
b) En caso de no tenerlo, puedes instalarlo: sudo apt-get install subversion
c) Descarga Harbour: svn checkout https://harbour-project.svn.sourceforge ... ject/trunk harbour
d) ve a la carpeta de Harbour y haz "make" (escribelo y lo ejecutas)

2. Que me envies por email el acceso a tu servidor y yo lo reviso desde aqui :-) luego cambias tu contraseña cuando yo termine.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

+ Añadida la Clase TWindow para usar la ventana principal (por defecto)
+ Añadido el ejemplo samples/demo.prg

http://www.fivetechsoft.net/cgi-bin/demo

demo.prg

Code: Select all | Expand

#include "FiveWeb.ch"//----------------------------------------------------------------------------//function Main( cParam )   SET BACKIMAGE TO "http://fiveweb.googlecode.com/svn/trunk/images/beach.jpg"      @  80, 80 SAY "Pulldown Menu" URL hb_argv( 0 ) + "?pdmenu"   @ 140, 80 SAY "Dialog" URL hb_argv( 0 ) + "?dialog"   do case      case cParam == "pdmenu"           BuildMenu()                 case cParam == "dialog"           BuildDialog()   endcase        return nil//----------------------------------------------------------------------------//function BuildMenu()   local oMenu      MENU oMenu      MENUITEM "Info"      MENU         MENUITEM "About..." ACTION MsgInfo( "FiveWeb power" )       ENDMENU            MENUITEM "Files"      MENU         MENUITEM "Clients"         MENUITEM "Stock"       ENDMENU            MENUITEM "Reports"            MENUITEM "Help"    ENDMENU   return nil//----------------------------------------------------------------------------//function BuildDialog()   local oDlg      DEFINE DIALOG oDlg TITLE "Hello FiveWeb"      ACTIVATE DIALOG oDlg NOWAIT   return nil      //----------------------------------------------------------------------------//
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
mastintin
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by mastintin »

Antonio Linares wrote:+ Añadida la Clase TWindow para usar la ventana principal (por defecto)
+ Añadido el ejemplo samples/demo.prg

http://www.fivetechsoft.net/cgi-bin/demo

demo.prg

Code: Select all | Expand

#include "FiveWeb.ch"//----------------------------------------------------------------------------//function Main( cParam )   SET BACKIMAGE TO "http://fiveweb.googlecode.com/svn/trunk/images/beach.jpg"      @  80, 80 SAY "Pulldown Menu" URL hb_argv( 0 ) + "?pdmenu"   @ 140, 80 SAY "Dialog" URL hb_argv( 0 ) + "?dialog"   do case      case cParam == "pdmenu"           BuildMenu()                 case cParam == "dialog"           BuildDialog()   endcase        return nil//----------------------------------------------------------------------------//function BuildMenu()   local oMenu      MENU oMenu      MENUITEM "Info"      MENU         MENUITEM "About..." ACTION MsgInfo( "FiveWeb power" )       ENDMENU            MENUITEM "Files"      MENU         MENUITEM "Clients"         MENUITEM "Stock"       ENDMENU            MENUITEM "Reports"            MENUITEM "Help"    ENDMENU   return nil//----------------------------------------------------------------------------//function BuildDialog()   local oDlg      DEFINE DIALOG oDlg TITLE "Hello FiveWeb"      ACTIVATE DIALOG oDlg NOWAIT   return nil      //----------------------------------------------------------------------------//


Antonio la solución de usar hb_argv( 0 ) para mi no es buena ya que en vez devolver la ruta url ,devuelve la ruta "física" del archivo .
En mi caso en vez "/localhost/cgi_bin/demo ? loquesca" me devuelve "localhost//Library/WebServer/CGI-Executables/demo?loquesea"
una solucion seria usar cFileNoPath() y usar una posiccion absoluta ,pero cFileNoPath() no está implementada aún.
Saludos.
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Manuel,

A ver si nos sirve esta:

Code: Select all | Expand

function cFileNoPath( cPathMask )  // returns just the filename no path    local n    cPathMask = StrTran( cPathMask, "/", "\" )    n = RAt( "\", cPathMask )return If( n > 0 .and. n < Len( cPathMask ),;           Right( cPathMask, Len( cPathMask ) - n ),;           If( ( n := At( ":", cPathMask ) ) > 0,;           Right( cPathMask, Len( cPathMask ) - n ),;           cPathMask ) )


Code: Select all | Expand

function AppName()return cFileNoPath( hb_argv( 0 ) )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Añadido efecto de transparencia al menu:

http://www.fivetechsoft.net/cgi-bin/demo
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Solucionado el bug del diseñador de ventanas!

Finalmente hemos podido solucionar el problema de jquery ui que nos estaba parando el desarrollo del diseñador de ventanas:
la solución ha sido no modificar la propiedad innerHTML sino usar el objecto DOM y añadirle los controles.

http://www.fivetechsoft.net/cgi-bin/fiveform
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
mastintin
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by mastintin »

He añadido la edicion al ejemplo "otto" en el repositorio. Ya podemos clickar en el browse y editar el registro selecionado . :D
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Continua el desarrollo del diseñador de formularios:

http://www.fivetechsoft.net/cgi-bin/fiveform

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Añadido soporte de barras de progreso en el diseñador de ventanas:

http://www.fivetechsoft.net/cgi-bin/fiveform
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Soporte para browses en el diseñador de ventanas:

http://www.fivetechsoft.net/cgi-bin/fiveform

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
juan carlos bellucci
Posts: 115
Joined: Sat Mar 07, 2009 9:36 pm
Location: Argentina
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by juan carlos bellucci »

Antonio querido: no se detenga con el proyecto fiveweb es el futuro de los sistemas vía intranet... éxitos yo sigo esperando el producto terminado. juan carlos.
User avatar
Antonio Linares
Site Admin
Posts: 42668
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 70 times
Been thanked: 96 times
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Soporte de folders para el diseñador de ventanas de FiveWeb:

http://www.fivetechsoft.net/cgi-bin/fiveform

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply