FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posts: 189
Joined: Wed Apr 05, 2006 09:48 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sat Nov 17, 2012 09:39 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sat Nov 17, 2012 02:32 PM

Javier,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 189
Joined: Wed Apr 05, 2006 09:48 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Mon Nov 19, 2012 09:42 AM

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

Un saludo

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Mon Nov 19, 2012 11:12 AM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Wed Nov 21, 2012 10:11 AM
+ 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 (fw): Select all Collapse
#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
Posts: 1516
Joined: Thu May 27, 2010 02:06 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Wed Nov 21, 2012 02:17 PM
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 (fw): Select all Collapse
#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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Wed Nov 21, 2012 03:36 PM
Manuel,

A ver si nos sirve esta:

Code (fw): Select all Collapse
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 (fw): Select all Collapse
function AppName()

return cFileNoPath( hb_argv( 0 ) )
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Wed Nov 21, 2012 03:44 PM
A帽adido efecto de transparencia al menu:

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

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Thu Nov 22, 2012 03:43 AM
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
Posts: 1516
Joined: Thu May 27, 2010 02:06 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Thu Nov 22, 2012 11:17 AM

He a帽adido la edicion al ejemplo "otto" en el repositorio. Ya podemos clickar en el browse y editar el registro selecionado . :D

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Fri Nov 23, 2012 09:25 AM
Continua el desarrollo del dise帽ador de formularios:

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Thu Nov 29, 2012 11:47 AM
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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Mon Dec 03, 2012 01:54 PM
Soporte para browses en el dise帽ador de ventanas:

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 115
Joined: Sat Mar 07, 2009 09:36 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Tue Dec 04, 2012 08:58 AM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Wed Dec 05, 2012 10:09 AM
Soporte de folders para el dise帽ador de ventanas de FiveWeb:

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

regards, saludos

Antonio Linares
www.fivetechsoft.com