topic
stringlengths
1
63
text
stringlengths
1
577k
missing vcalenda.ch
Un usuario me envío el fichero de cabecera pero no tenemos el PRG de momento <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
missing vcalenda.ch
[quote="Antonio Linares":33v0dojz]Un usuario me envío el fichero de cabecera pero no tenemos el PRG de momento <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:33v0dojz] Ah ok, ni modo, quedara esperar...saludos...gracias... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
missing vcalenda.ch
Vcalendar is made byVagner many years ago...as vBar, vGet and others
mistake
If when performing any .prg there was a mistake, (for example at me midnight.prg gives a mistake) and after it to start the working .prg (for example info.prg), in the browser the mistake will hang all the same. That info.prg earned it is necessary to stop Apach in XAMPP'e, to start and refresh the page. Whether there is simpler option?
mistake
Are you using Windows 32 or 64 bits ? Those examples should work fine without errors Could you post some screenshots ?
mistake
I am using Windows 64 and faced a similar situation. It's not the cause of the error, but the fact that, after each error, you need to restart Apache in XAMPP For example I try to execute localhost\samples\AA.prg (in which I made a mistake) and get an error message. I correct the text AA.prg and run localhost\samples\AA.prg again. But until I restart Apache in XAMPP the browser page will not refresh
mistake
Windows 64 bits Xampp . Chrome midnight.prg Error: Unknown or unregistered symbol operation: __DBGENTRY called from: ../../../apache.prg, (b)MAIN, line: 50 called from: HB_HRBLOAD, line: 0 called from: ../../../apache.prg, EXECUTE, line: 116 called from: ../../../apache.prg, MAIN, line: 61
mistake
Hello, can you please post the code of the prg file wihich causes the error. So I can test on my servers. Best regards, Otto
mistake
[quote:3m4u2usk]Error: Unknown or unregistered symbol operation: __DBGENTRY[/quote:3m4u2usk] you need to run samples/debugoff.prg one or two times until this error goes away HB_PRGFLAGS is set to -B and debugoff.prg removes this flag from the environment
mistake
[quote="Antonio Linares":2dkl8269][quote:2dkl8269]Error: Unknown or unregistered symbol operation: __DBGENTRY[/quote:2dkl8269] you need to run samples/debugoff.prg one or two times until this error goes away [/quote:2dkl8269] Remarkably! Many thanks:)
mistake
[quote="Otto":1rwvqt90]Hello, can you please post the code of the prg file wihich causes the error. So I can test on my servers. Otto[/quote:1rwvqt90] It is an example from the samples folder - midnight.prg Thank you for the instruction for installation! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
mistake
hi, I try midnight.prg and get same erroe: [quote:3mzlxrmv]Error: Unknown or unregistered symbol operation: __DBGENTRY called from: ../../../apache.prg, (b)MAIN, line: 32 called from: HB_HRBLOAD, line: 0 called from: ../../../apache.prg, EXECUTE, line: 98 called from: ../../../apache.prg, MAIN, line: 43[/quote:3mzlxrmv] run debugoff.prg one or two times but nothing...
mistake
Please restart apache
mod harbour - speed difference depending on server
Hello, I did some test on different WANs. Best regards Otto [img:s4wsmx6f]https&#58;//mybergland&#46;com/fwforum/speed&#46;gif[/img:s4wsmx6f]
mod Harbour - eShop
Dear Antonio, we made following changes into <DIV . Best regards Otto [img:x4gcbmug]https&#58;//mybergland&#46;com/FWForum/image_2019_07_09T12_29_33_832Z&#46;png[/img:x4gcbmug] [img:x4gcbmug]https&#58;//mybergland&#46;com/FWForum/modeshop&#46;png[/img:x4gcbmug] [img:x4gcbmug]https&#58;//mybergland&#46;com/FWForum/22&#46;png[/img:x4gcbmug] [img:x4gcbmug]https&#58;//mybergland&#46;com/FWForum/23&#46;png[/img:x4gcbmug]
mod Harbour - eShop
Dear Otto, thank you so much <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Here I explain you the right way to cooperate on the development (and fixes) of mod_harbour: 1. From <!-- m --><a class="postlink" href="https://github.com/fivetechsoft/mod_harbour">https://github.com/fivetechsoft/mod_harbour</a><!-- m --> you click on the "fork" button 2. You make your changes in the "forked" project 3. Once you are done, you go to <!-- m --><a class="postlink" href="https://github.com/fivetechsoft/mod_harbour">https://github.com/fivetechsoft/mod_harbour</a><!-- m --> again and click on "Pull request" 4. Then I am notified of your contributions, I review them and I accept them <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
mod Harbour - eShop
See how mod_harbour Genesis is evolving <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> live demo: [url:31td7apx]https&#58;//harbour&#46;fourtech&#46;es/modharbour_samples/genesis/index&#46;prg[/url:31td7apx] full source code: [url:31td7apx]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/tree/master/samples/genesis[/url:31td7apx]
mod Harbour - eShop
Dear Antonio, GENESIS is great. I am following the evolving. Can you please post an example how to handle session objects. Thank you in advance Otto
mod Harbour - eShop
Tasks management from mod_harbour genesis: [url:egjj33q8]https&#58;//harbour&#46;fourtech&#46;es/modharbour_samples/genesis/index&#46;prg?tasks[/url:egjj33q8]
mod Harbour - eShop
[quote="Otto":1roly0qy]Dear Antonio, GENESIS is great. I am following the evolving. Can you please post an example how to handle session objects. Thank you in advance Otto[/quote:1roly0qy] Hi Antonio. I'm making some more tests with mod_harbour. I have 3 questions. The first is about sessions, as Otto already asked you. The second if you have made something for Advantage The third is how to design some controls like radios, checkboxes and combos. Thanks a lot Massimo
mod Harbour - eShop
Massimo, 1. In recent genesis.prg changes you can see how to use cookies to identify a user. On the server side you can use a DBF to track your users activity. Thats all that we have for now. 2. You just need to build libharbour.dll with ADS libs support into it. Here we explain how to include any libs into it: [url:275yd8c9]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/tree/master/contribs/windows[/url:275yd8c9] 3. We use bootstrap for the GUI. Here you find how to create all controls: [url:275yd8c9]https&#58;//getbootstrap&#46;com/docs/4&#46;0/components/forms/[/url:275yd8c9]
mod Harbour - eShop
Thanks Antonio. What do you use for design a view ?
mod Harbour - eShop
Believe it or not, I do it by hand <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> as I want to understand the basics... Maybe in the future I will look for a designer, but for now, I build them step by step
mod Harbour - eShop
I want to understand the basics too. The problem of being too much used to using tools like Workshop or the visual designer of .Net.
mod Harbour - eShop
Hi Antonio , Could you please provide Architect outline of mod_harbour ? Thanks Shridhar
mod Harbour - eShop
Massimo, This is a nice free online bootstrap editor to create forms, etc. [url:2nabqsjr]https&#58;//bootsnipp&#46;com/forms[/url:2nabqsjr]
mod Harbour - eShop
Shridhar, [img:28fwftxc]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/modharbour_arch&#46;png?raw=true[/img:28fwftxc]
mod Harbour - eShop
[img:3gcvq6dl]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/modharbour_arch_3&#46;png?raw=true[/img:3gcvq6dl]
mod Harbour and Harbourino
Hello, I have a new video: [url:1igblrh3]https&#58;//mybergland&#46;com/fwforum/harbourinolandingpage&#46;mp4[/url:1igblrh3] Best regards, Otto
mod Harbour and Harbourino
Hello, Now the user can edit the landing page from mod harbour and store data in a dbf - file. This program is based on Genesis. [img:77xmakjk]https&#58;//mybergland&#46;com/fwforum/setup&#46;gif[/img:77xmakjk] Best regards, Otto
mod Harbour and Harbourino
Hello, The web pages created with Harbourino can easily be examined with the debugger. [img:xlb3ukrg]https&#58;//mybergland&#46;com/fwforum/entwicklertools&#46;jpg[/img:xlb3ukrg] Harbourino automatically inserts the filename. [img:xlb3ukrg]https&#58;//mybergland&#46;com/fwforum/f12clip2&#46;jpg[/img:xlb3ukrg] You can then call up the relevant source code very quickly in the editor. |- for comments in files - not shown in the "patched" release file. [img:xlb3ukrg]https&#58;//mybergland&#46;com/fwforum/ff12clip1&#46;jpg[/img:xlb3ukrg] Best regards, Otto
mod Harbour and Harbourino
[b:1s8xvib9]What is Harbourino[/b:1s8xvib9] [url:1s8xvib9]https&#58;//winhotel&#46;space/harbourinopublic/htmlpublic2/what-is-mod-harbour&#46;html[/url:1s8xvib9]
mod Harbour booking - my new project
Hello, today we start our first mod harbor project. It is an online booking system. So far we have finished the screens in html. Now we start with back end using mod harbor. It should actually be relatively fast. We will report here how we are doing and what problems occur. We probably also have to ask many questions. If anyone has any real interest in joining the project, please write to me. I am so thankful that Antonio has opened this perspective to us. Kind regards Otto [url:2gsp66gm]https&#58;//winhotel&#46;space/booking_new/index&#46;php[/url:2gsp66gm] [img:2gsp66gm]https&#58;//mybergland&#46;com/fwforum/smalllogo&#46;jpg[/img:2gsp66gm]
mod Harbour booking - my new project
Hello Otto. Many compliments for your new project. Looks great. I've tested it also on an Iphone X and works perfectly. Massimo
mod Harbour booking - my new project
Work in progress DatePicker now works First input screen is ready and we get the data. Please test. [url:3awjbe7z]http&#58;//my3zinnen&#46;com/booking_tests/index&#46;prg[/url:3awjbe7z] Best regards, Otto [img:3awjbe7z]https&#58;//mybergland&#46;com/fwforum/mod_input_booking&#46;png[/img:3awjbe7z]
mod Harbour booking - my new project
Works perfectly. Will be possible to change the date format in Italian (dd/mm/yyyy) ?
mod Harbour booking - my new project
Massimo, I think this is no problem as this part is bootstrap. $('.datepicker').datepicker({ language: "it" }); Do you have a mod harbour web server installed. I can give you the source. You can test on your side then. Best regards Otto
mod Harbour booking - my new project
Otto, I'm preparing a Win10 machine for making all tests.
mod Harbour booking - my new project
Massimo, let me know when you are ready. Best regards Otto
mod Harbour booking - my new project
Ok. Thanks a lot. Massimo
mod Harbour booking - my new project
Dear Otto, really great! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
mod Harbour booking - my new project
Dear Antonio, I use GENESIS to understand the concepts. Thank you for mod harbour. Best regards Otto [img:4ijm7s30]https&#58;//mybergland&#46;com/fwforum/modhclip1&#46;jpg[/img:4ijm7s30]
mod Harbour booking - my new project
Very good! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
mod Harbour booking - my new project
Otto, What are you using for to do the window/buttons/get ?
mod Harbour booking - my new project
Hello, this is exectly the code Antonio has in his GENESIS. Till now I only changed names and databases. Best regards, Otto
mod Harbour booking - my new project
I'm asking because I look at this code and not recognize it as a Harbour code. What else I must study to understand better it?
mod Harbour booking - my new project
Vilian, <!-- m --><a class="postlink" href="https://drive.google.com/file/d/1uF7iPtH6O5ItXYBrv23noel2usTr-ilS/view?usp=sharing">https://drive.google.com/file/d/1uF7iPt ... sp=sharing</a><!-- m --> Regards
mod Harbour booking - my new project
Thank you, It's exactly I wanted !
mod Harbour booking - my new project
Hello, my mod harbor online booking is now in the state that the requirement specifications and functional specification are covered. Now I start with detail programming. Data comes from dbf file <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> - the function is from 1994 from my DOS version of WINHOTEL which was called PCHOTEL. Please look how easy you can select/de-selcet the rooms you want book. Best regards, Otto [img:msxhe8at]https&#58;//mybergland&#46;com/fwforum/onlinebuchung&#46;gif[/img:msxhe8at]
mod Harbour booking - my new project
Hi Otto. Very nice work, many compliments. I'm making a program too, when is completely working I'll give you some screenshots. Pay attention that in Safari the Pickdate is not working. You need to include some Javascript code for working with Bootstrap. Massimo
mod Harbour booking - my new project
Hello Massimo, thank you. I also saw that in Explorer it is not looking the same. This first screen is totally made with Botstrap Studio. And I included all the js files from assets folder. This is a very unfinished program. I just posted to show that mod harbor works well. You can program everything with it. What kind of programm are you working. Best regards Otto
mod Harbour booking - my new project
Hi Otto. Yes, with Bootstrap Studio you can make everything. And when you export the project you have only to take some pieces and put inside a TEMPLATE...ENDTEXT command and the prg is running. I have only some problems to pass elements from mod_harbour to JS and viceversa. But for the program that I'm developing is not so important. This project should ask for some fields (dates and numbers) and launch a second process for selecting data between different tables for making calculations and at the end display a browse for finally exporting it in PDF or Excel. I've solved after some time how to make a meter that is updated in main form from the second launched prg. I've used some JS code with some AJAX code. It's not finished yet but I've solved some problems caused also for the way of programming that I have in mind after 42 years of developing in other languages. Have a nice evening Massimo. P.S. At the end of summer we can meet in your hotel for a weekend.
mod Harbour is Harbour for the web
[url:25qp4rl6]https&#58;//github&#46;com/FiveTechSoft/mod_harbour[/url:25qp4rl6] [url:25qp4rl6]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/blob/master/samples/dbgen&#46;prg[/url:25qp4rl6] [img:25qp4rl6]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/table1&#46;jpg?raw=true[/img:25qp4rl6] [img:25qp4rl6]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/tablecode1&#46;jpg?raw=true[/img:25qp4rl6]
mod Harbour is Harbour for the web
Try it for youself <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> [url:14z2znm1]http&#58;//cloud&#46;backupsegur&#46;es&#58;8088/mod_harbour_examples/[/url:14z2znm1] Source code for the examples: [url:14z2znm1]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/tree/master/samples[/url:14z2znm1]
mod Harbour is Harbour for the web
HI, I have a few beginner questions before entering the boat... 1) What is a mod? An API? whats limitation? 2) will our systems run as an EXE or interpreted? Will have some kind of source code protection? 3) With respect to the database, using DBF, ads or MySQL has this data protection too? 4) can I run all functions of harbour or a set? and FiveWin? 5) Can I run intranet and on a server in the cloud? 6) How to make the screens, has a generator resources? Or do I have to do manual? 7) is there a small demo program, with basic functions like search, include, change, delete, reports? <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> Works in apache or IIS too? very thanks. best regards, congrats for great News.
mod Harbour is Harbour for the web
Hello Antonio. I'm making some tests and this is really great. I have some questions. - Is possible to use all this in Windows not in Linux ? - I work with Advantage Database. Do you think that can I connect in some way with these tables ? - The print statements are inside FW. How can we print something in this mod ? Thanks a lot for this great system.
mod Harbour is Harbour for the web
Massimo, 1. Use Windows 10 bash. You are on Windows, but Apache and mod_harbour work from the bash. 2. We are near to implement pluggins for mod_harbour. Surely we will have ADS support quite soon 3. Carles Aubia has a nice printing engine for the web that surely he is porting to mod_harbour The xbase web revolution is starting... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
mod Harbour is Harbour for the web
hi, I'd like to try it. I use FiveWin for xHarbour 17.09 - Sep. 2017 is there any step by step guide to install and use harbour for web? thanks
mod bug solved ->Charly
Good afternoon to everyone Thanks to the invaluable work of our GURU Charly has solved a bug in the Mod_Harbour regarding the use of CURL when calling a WebService Thank you Charly!! now it works perfect!! because the parameters did not receive them!! this already works Ok [code=fw:27aavvv3]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"{% hb_getenv('PRGPATH') + '/hbcurl.ch' %}"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> h := UseWebService<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp; AP_SetContentType<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"application/json"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp; ?? hb_jsonEncode<span style="color: #000000;">&#40;</span>h<span style="color: #000000;">&#41;</span><br /><br />retu <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">function</span> UseWebService<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> uValue, hCurl<br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> cUrlWs &nbsp; &nbsp; &nbsp; &nbsp;:= <span style="color: #ff0000;">'190.110.XXX.YYY:6263/pre/jnetws/auth'</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> hHeaders &nbsp;:= <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">'Content-Type: application/json'</span> <span style="color: #000000;">&#125;</span> &nbsp;<br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> hParams &nbsp; &nbsp; &nbsp; := <span style="color: #000000;">&#123;</span>=><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> h &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; := <span style="color: #000000;">&#123;</span>=><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> n<br /><br /><br />&nbsp; &nbsp; hParams<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">'wsuser'</span> <span style="color: #000000;">&#93;</span> &nbsp; &nbsp; := <span style="color: #ff0000;">'app1'</span><br />&nbsp; &nbsp; hParams<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">'wspsw'</span> <span style="color: #000000;">&#93;</span> &nbsp;:= <span style="color: #ff0000;">'acvbs'</span><br />&nbsp; &nbsp; hParams<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">'user'</span> <span style="color: #000000;">&#93;</span> &nbsp; &nbsp; &nbsp; := <span style="color: #ff0000;">'demo'</span><br />&nbsp; &nbsp; hParams<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">'psw'</span> <span style="color: #000000;">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp;:= <span style="color: #ff0000;">'1129'</span><br />&nbsp; &nbsp; hParams<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">'emp'</span> <span style="color: #000000;">&#93;</span> &nbsp; &nbsp; &nbsp; &nbsp;:= <span style="color: #ff0000;">'Empre003'</span><br /><br />&nbsp; &nbsp; curl_global_init<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #00C800;">if</span> ! empty<span style="color: #000000;">&#40;</span> hCurl := curl_easy_init<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; curl_easy_setopt<span style="color: #000000;">&#40;</span> hCurl, HB_CURLOPT_SSL_VERIFYPEER, <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; curl_easy_setopt<span style="color: #000000;">&#40;</span> hCurl, HB_CURLOPT_URL, cUrlWs <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; curl_easy_setopt<span style="color: #000000;">&#40;</span> hCurl, HB_CURLOPT_HTTPHEADER, hHeaders <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; curl_easy_setopt<span style="color: #000000;">&#40;</span> hCurl, HB_CURLOPT_POST, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; curl_easy_setopt<span style="color: #000000;">&#40;</span> hCurl, HB_CURLOPT_POSTFIELDS, hb_jsonEncode<span style="color: #000000;">&#40;</span> hParams <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; curl_easy_setopt<span style="color: #000000;">&#40;</span> hCurl, HB_CURLOPT_DL_BUFF_SETUP <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; n := curl_easy_perform<span style="color: #000000;">&#40;</span> hCurl <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> n == <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; uValue &nbsp;:= curl_easy_dl_buff_get<span style="color: #000000;">&#40;</span> hCurl <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; h &nbsp; &nbsp; &nbsp; := hb_jsonDecode<span style="color: #000000;">&#40;</span> uvalue <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; h<span style="color: #000000;">&#91;</span> <span style="color: #ff0000;">'error'</span> <span style="color: #000000;">&#93;</span> := curl_easy_strerror<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; <span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp; curl_global_cleanup<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> h<br />&nbsp;</div>[/code:27aavvv3]
mod for Fivewin - FLEXGRID extension for xBrowse
Hello friends, I saw Cristobals talk on FlexGRID. Now I think it would be beneficial to have an xBrowse with 12 columns, and then after we have set the xBrowse an export function to HTML. Then we could use the screens for both FW and mod harbour. You would have to extend xBrowse so that you can make settings that are compatible with FLEXGRIG. What do you think? Best regards, Otto [img:37v2rw7r]https&#58;//mybergland&#46;com/fwforum/flexgrid&#46;jpg[/img:37v2rw7r]
mod for Fivewin - FLEXGRID extension for xBrowse
Dear Otto On the mod-harbour forum you have many examples that I put on the use of grid and flex. Let's not confuse both technologies (which are included in all browsers natively) <!-- m --><a class="postlink" href="https://forum.modharbour.app/viewforum.php?f=16">https://forum.modharbour.app/viewforum.php?f=16</a><!-- m --> It also has the videos I made on the subject <!-- m --><a class="postlink" href="https://forum.modharbour.app/viewtopic.php?f=13&t=131">https://forum.modharbour.app/viewtopic.php?f=13&t=131</a><!-- m --> <!-- m --><a class="postlink" href="https://forum.modharbour.app/viewtopic.php?f=13&t=132">https://forum.modharbour.app/viewtopic.php?f=13&t=132</a><!-- m --> The advantage of using these technologies is that you don't have to load any additional scripts or frameworks, and it allows you to easily responsive pages. Two classes TGridBox and TFlexBox are also included in Beacon
mod for Fivewin - FLEXGRID extension for xBrowse
Dear Cristobal, Do these classes work with Fivewin? Best regards, Otto
mod for Fivewin - FLEXGRID extension for xBrowse
Ok, the idea is for the future to make them compatible with the INLINE technology that I introduced in Fivewin and that I have much more advanced, although still in testing.
mod for Fivewin - FLEXGRID extension for xBrowse
[quote="cnavarro":z55fce2l]Dear Otto On the mod-harbour forum you have many examples that I put on the use of grid and flex. Let's not confuse both technologies (which are included in all browsers natively) <!-- m --><a class="postlink" href="https://forum.modharbour.app/viewforum.php?f=16">https://forum.modharbour.app/viewforum.php?f=16</a><!-- m --> It also has the videos I made on the subject <!-- m --><a class="postlink" href="https://forum.modharbour.app/viewtopic.php?f=13&t=131">https://forum.modharbour.app/viewtopic.php?f=13&t=131</a><!-- m --> <!-- m --><a class="postlink" href="https://forum.modharbour.app/viewtopic.php?f=13&t=132">https://forum.modharbour.app/viewtopic.php?f=13&t=132</a><!-- m --> The advantage of using these technologies is that you don't have to load any additional scripts or frameworks, and it allows you to easily responsive pages. Two classes TGridBox and TFlexBox are also included in Beacon[/quote:z55fce2l] Is this forum separate from fivewin forums? Is it run by FiveTech?
mod for Fivewin - FLEXGRID extension for xBrowse
The forum and the server are mine, the domain is Charly's, and the administrators are Charly and me. Why, I didn't know him?
mod for Fivewin - FLEXGRID extension for xBrowse
[quote:3flgswje]Now I think it would be beneficial to have an xBrowse with 12 columns, and then after we have set the xBrowse an export function to HTML. Then we could use the screens for both FW and mod harbour. [/quote:3flgswje] Work in progress. Still in very early stages <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=40432">viewtopic.php?f=3&t=40432</a><!-- l -->
mod for Fivewin - FLEXGRID extension for xBrowse
Dear Mr. Rao, Many Thanks. That's great. May I explain my suggestion to you better again? I am enclosing a few screenshots. I imagine a quickly created input dialog. You define an array - xbrowse would then be the dialog and with save, you get the changed array. You could then practically define an entire input dialog with an array. E.g., here I put a # in front, and xbrowse then knows that it is a label and the column is blocked for focus. For the input fields, you could perhaps prefix such as > normal imput < use combobox etc. Dialog designer Best would be if we can start with an empty xbrowse - like an excel sheet. Then fill in labels, get fields, comboboxes, etc. This would be great on a right click menu to choose. And of course, an export button for HTML code. Best regards, Otto [img:17hccdc1]https&#58;//mybergland&#46;com/fwforum/izipizi/dialogdef&#46;jpg[/img:17hccdc1] [img:17hccdc1]https&#58;//mybergland&#46;com/fwforum/izipizi/dialog&#46;jpg[/img:17hccdc1] [img:17hccdc1]https&#58;//mybergland&#46;com/fwforum/izipizi/dialogsave&#46;jpg[/img:17hccdc1]
mod harbor club has 200 members
Dear friends, I'm so happy to announce that mod harbor club now has 200 members. Great. I already wish everyone a happy new year. Best regards, Otto [img:1ua5xu05]https&#58;//mybergland&#46;com/fwforum/club%20200&#46;jpg[/img:1ua5xu05]
mod harbor club has 200 members
Dear friends, I'm so happy to announce that mod harbor club now has 200 members. Great. I already wish everyone a happy new year. Best regards, Otto [img:2h0xv5me]https&#58;//mybergland&#46;com/fwforum/club%20200&#46;jpg[/img:2h0xv5me]
mod harbor club has 200 members
Felicitaciones por el gran trabajo Otto Prosperidad y éxitos para el 2,021 !!! Lubin Desde Lima - Perú
mod harbor club has 200 members
Dejemos el año 2021, que ya ha dado bastantes desgracias. Los buenos deseos para el 2022 Saludos
mod harbor club now has 200 members
Dear friends, I'm so happy to announce that mod harbor club now has 200 members. Great. I already wish everyone a happy new year. Best regards, Otto [img:2dwrw21o]https&#58;//mybergland&#46;com/fwforum/club%20200&#46;jpg[/img:2dwrw21o]
mod harbor club now has 200 members
Dear friends, I'm so happy to announce that mod harbor club now has 200 members. Great. I already wish everyone a happy new year. Best regards, Otto [img:2nk5kxip]https&#58;//mybergland&#46;com/fwforum/club%20200&#46;jpg[/img:2nk5kxip]
mod harbor club now has 200 members
Dear Otto, Good News. My Next plan will FWH/MySQL->Mod Harbour/MySQL.
mod harbor club now has 200 members
[quote="richard-service":140rfjzv]Dear Otto, Good News. My Next plan will FWH/MySQL->Mod Harbour/MySQL.[/quote:140rfjzv] Otto, very good Richard: good choice
mod harbour ""SEAMAP""
Hello friends, I start a project for easy management of links. As project name I choose SEAMAP. I start with a simple dbf table. There should be a user mode and an admin mode. I post my progress here regularly. I think such a program could be of interest for many of us. You can see SEAMAP in Action here: [url:av4dm82f]http&#58;//modharbour&#46;online[/url:av4dm82f] Best regards Otto
mod harbour ""SEAMAP""
Dear Antonio, now I have ready the dbrowse and would like to have the buttons "new", "edit", "delete" and "mark" working. script inside code is replaced by s cript as otherwise I can't post the code here. Best regards, Otto [img:97tt07mc]https&#58;//mybergland&#46;com/fwforum/modharbourseamap/clip7&#46;jpg[/img:97tt07mc] [code=fw:97tt07mc]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">local</span> alinks := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br /><br />    <span style="color: #00C800;">if</span> ! File<span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links.dbf"</span> <span style="color: #000000;">&#41;</span><br />        DbCreate<span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links.dbf"</span>,;<br />                  <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LINKDEST"</span>,   <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                    <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LINKNAME"</span>,   <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                    <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LONGTEXT"</span>,   <span style="color: #ff0000;">"M"</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />     <span style="color: #00C800;">endif</span><br /><br />    USE <span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links"</span> <span style="color: #000000;">&#41;</span> SHARED <span style="color: #00C800;">NEW</span><br />    <span style="color: #00C800;">do</span> <span style="color: #00C800;">while</span> .not. eof<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />        aadd<span style="color: #000000;">&#40;</span> alinks, <span style="color: #000000;">&#123;</span> field->linkdest, field->linkname, field->longtext <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />        skip<br />    <span style="color: #00C800;">enddo</span>    <br />    USE<br /><br />TEMPLATE PARAMS alinks<br /><br /><html><br />    <head><br />    <link rel=<span style="color: #ff0000;">"stylesheet"</span> href=<span style="color: #ff0000;">"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"</span> integrity=<span style="color: #ff0000;">"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"</span> crossorigin=<span style="color: #ff0000;">"anonymous"</span>><br />  <link href=<span style="color: #ff0000;">"//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css"</span> rel=<span style="color: #ff0000;">"stylesheet"</span>><br />   <s cript src=<span style="color: #ff0000;">"https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"</span>></s cript><br />  <s cript src=<span style="color: #ff0000;">"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"</span>></s cript><br />  <style><br />     .table-striped>tbody>tr:<span style="color: #000000;">nth</span>-of-type<span style="color: #000000;">&#40;</span>odd<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>background-<span style="color: #0000ff;">color</span>: #ecf3f7;<span style="color: #000000;">&#125;</span>  <br />     .table-striped>tbody>tr:<span style="color: #000000;">nth</span>-of-type<span style="color: #000000;">&#40;</span>even<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>background-<span style="color: #0000ff;">color</span>: #e1ebf2;<span style="color: #000000;">&#125;</span>  <br />     .table-striped>tbody>tr:<span style="color: #000000;">hover</span>>td <span style="color: #000000;">&#123;</span>background-<span style="color: #0000ff;">color</span>: #f6f4d0;<span style="color: #000000;">&#125;</span>  <br />  </style>   <br />  </head><br />  <body><br />  <br />  <div <span style="color: #00C800;">class</span>=<span style="color: #ff0000;">"container"</span>><br />    <img src=<span style="color: #ff0000;">"assets/seamap.jpg"</span>  /><br />            <br />        <div <span style="color: #00C800;">class</span>=<span style="color: #ff0000;">"row"</span>><br />        <table <span style="color: #00C800;">class</span>=<span style="color: #ff0000;">"table col-12"</span> <span style="color: #0000ff;">style</span>=<span style="color: #ff0000;">"font-size:20px;"</span>><br />      <thead <span style="color: #00C800;">class</span>=<span style="color: #ff0000;">"thead-dark "</span>><br /> <br />        <tr><br />          <th scope=<span style="color: #ff0000;">"col"</span>>#</th><br />          <th scope=<span style="color: #ff0000;">"col"</span>>Project Name</th><br />          <br />          <!-- adminmode --><br />          <th><br />          <div <span style="color: #00C800;">class</span>=<span style="color: #ff0000;">"btn-group"</span>><br />          <a <span style="color: #00C800;">class</span>=<span style="color: #ff0000;">"btn btn-default"</span> <span style="color: #0000ff;">style</span>=<span style="color: #ff0000;">"background-color:#0ed145;"</span>  onclick=<span style="color: #ff0000;">"neu()"</span>  ><span>New</span></a><br /><br />         <br />          </div><br />          </th><br />        <br />        </tr><br />        <br />        </thead><br />      <tbody><br />      <br />        <?prg <span style="color: #00C800;">local</span> I := <span style="color: #000000;">0</span>, cRow := <span style="color: #ff0000;">""</span>      <span style="color: #B900B9;">//mod harbour code inside HTML  TAG starts with <?prg   </span><br />        <span style="color: #00C800;">for</span> I := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> len<span style="color: #000000;">&#40;</span> alinks <span style="color: #000000;">&#41;</span><br />            cRow += <span style="color: #ff0000;">'<tr>'</span><br />            cRow += <span style="color: #ff0000;">'<th scope="row">'</span> + ALLTRIM<span style="color: #000000;">&#40;</span> str<span style="color: #000000;">&#40;</span>I<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">'</th>'</span> <br />            cRow += <span style="color: #ff0000;">"<td><a target='_blank' href="</span> +  alinks<span style="color: #000000;">&#91;</span>I,<span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> + <span style="color: #ff0000;">">"</span> +  alinks<span style="color: #000000;">&#91;</span>I,<span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> + <span style="color: #ff0000;">"</a>"</span><br />            cRow += <span style="color: #ff0000;">'<br>'</span><br />            cRow +=  alinks<span style="color: #000000;">&#91;</span>I,<span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span><br />            cRow += <span style="color: #ff0000;">"</td>"</span><br /><br />            <span style="color: #B900B9;">//adminmode</span><br />            cRow += <span style="color: #ff0000;">"<td>"</span><br />            cRow += <span style="color: #ff0000;">'<button type="button" class="btn btn-xs btn-default">'</span><br />            cRow += <span style="color: #ff0000;">'   <span class="glyphicon glyphicon-pencil"></span>'</span><br />            cRow += <span style="color: #ff0000;">"</button>"</span><br />            cRow += <span style="color: #ff0000;">'<button type="button" data-bind="click: $parent.remove" class="remove-news btn btn-xs btn-default" data-toggle="tooltip" data-placement="top" data-original-title="Delete">'</span><br />            cRow += <span style="color: #ff0000;">'   <span class="glyphicon glyphicon-trash"></span>'</span><br />            cRow += <span style="color: #ff0000;">"</button>"</span><br />            cRow += <span style="color: #ff0000;">'<button type="button" class="enabledisable-news btn btn-xs btn-default">'</span><br />            cRow += <span style="color: #ff0000;">'   <span class="glyphicon glyphicon-ok"></span>'</span><br />            cRow += <span style="color: #ff0000;">"</button>"</span><br />            cRow += <span style="color: #ff0000;">"</td>"</span><br /><br />        <span style="color: #00C800;">next</span>   <br />        <span style="color: #00C800;">return</span> cRow ?>                    <br />      </tbody><br />    </table><br />    </div><br />  </div><br />  <br />  <s cript><br />                <br />  $<span style="color: #000000;">&#40;</span>document<span style="color: #000000;">&#41;</span>.ready<span style="color: #000000;">&#40;</span> <span style="color: #00C800;">function</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />  <br />    $<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'#new'</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000ff;">on</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'click'</span>, <span style="color: #00C800;">function</span><span style="color: #000000;">&#40;</span> e <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />      $.alert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"New"</span> <span style="color: #000000;">&#41;</span>;<br />    <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>;<br />  <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>;<br /><br />  <span style="color: #00C800;">function</span> neu<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> <br />    alert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'neuer Link'</span><span style="color: #000000;">&#41;</span>; <br /><span style="color: #000000;">&#125;</span> <br /><br /><br /><br /></s cript><br /><br /><br />  </body><br />  <br /><br /><br /></html><br /><br />ENDTEXT<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><br /><br /><br /> </div>[/code:97tt07mc]
mod harbour ""SEAMAP""
Antonio Linares 19:52 Uhr When we build a simple utility, in fact we use a small MVC model So first of all, we implement a very simple "router" (seria correcto decirle "router" ó "controller" ?) seamap.prg [code=fw:11c8v2fm]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">local</span> cMethod := AP_Method<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">local</span> aArgs := hb_aTokens<span style="color: #000000;">&#40;</span> AP_Args<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">":"</span> <span style="color: #000000;">&#41;</span>   <br /><span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />     <span style="color: #00C800;">case</span> cMethod == <span style="color: #ff0000;">"GET"</span><br />        ? <span style="color: #ff0000;">"We process a GET"</span><br />        <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />           <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"add"</span><br />              ? <span style="color: #ff0000;">"add is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"edit"</span><br />              ? <span style="color: #ff0000;">"edit is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"next"</span><br />              ? <span style="color: #ff0000;">"browse next is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"prev"</span><br />              ? <span style="color: #ff0000;">"browse prev is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"del"</span><br />              ? <span style="color: #ff0000;">"del is required"</span><br />        <span style="color: #00C800;">endcase</span>      <span style="color: #00C800;">case</span> cMethod == <span style="color: #ff0000;">"POST"</span><br />        ? <span style="color: #ff0000;">"We process a POST"</span><br />   endcasereturn <span style="color: #00C800;">nil</span><br /><span style="color: #000000;">1</span>. We distinct between <span style="color: #ff0000;">"GET"</span> and <span style="color: #ff0000;">"POST"</span><br /><span style="color: #000000;">2</span>. We identify the <span style="color: #0000ff;">action</span> <span style="color: #0000ff;">to</span> perform<br />so just using AP_Method<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> and AP_Args<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> we start it<br />I missed <span style="color: #ff0000;">"save"</span>. So I guess this is the simplest <span style="color: #ff0000;">"controller"</span> that we can have <span style="color: #00C800;">for</span> a DBF<br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>   <span style="color: #00C800;">local</span> cMethod := AP_Method<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">local</span> aArgs := hb_aTokens<span style="color: #000000;">&#40;</span> AP_Args<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">":"</span> <span style="color: #000000;">&#41;</span>   <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />     <span style="color: #00C800;">case</span> cMethod == <span style="color: #ff0000;">"GET"</span><br />        ? <span style="color: #ff0000;">"We process a GET"</span><br />        <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />           <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"add"</span><br />              ? <span style="color: #ff0000;">"add is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"edit"</span><br />              ? <span style="color: #ff0000;">"edit is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"next"</span><br />              ? <span style="color: #ff0000;">"browse next is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"prev"</span><br />              ? <span style="color: #ff0000;">"browse prev is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"del"</span><br />              ? <span style="color: #ff0000;">"del is required"</span><br />        <span style="color: #00C800;">endcase</span>      <span style="color: #00C800;">case</span> cMethod == <span style="color: #ff0000;">"POST"</span><br />        ? <span style="color: #ff0000;">"We process a POST"</span><br />        <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />           <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"save"</span><br />              ? <span style="color: #ff0000;">"save is required"</span><br />        <span style="color: #00C800;">endcase</span><br />   endcasereturn <span style="color: #00C800;">nil</span><br />In fact, this is a very small and reduced MVC model <span style="color: #000000;">&#40;</span> just the <span style="color: #ff0000;">"C"</span>ontroller, <span style="color: #00C800;">for</span> now<span style="color: #000000;">&#41;</span><br /><br />The <span style="color: #ff0000;">"M"</span>odel is in charge <span style="color: #0000ff;">of</span> the <span style="color: #00C800;">data</span><br />Now we check that the DBF <span style="color: #0000ff;">exists</span>, <span style="color: #00C800;">if</span> not we create it, and then we <span style="color: #ff0000;">"USE"</span> it<br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>   <span style="color: #00C800;">local</span> cMethod := AP_Method<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">local</span> aArgs := hb_aTokens<span style="color: #000000;">&#40;</span> AP_Args<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">":"</span> <span style="color: #000000;">&#41;</span>   CheckTables<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>   <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />     <span style="color: #00C800;">case</span> cMethod == <span style="color: #ff0000;">"GET"</span><br />        ? <span style="color: #ff0000;">"We process a GET"</span><br />        <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />           <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"add"</span><br />              ? <span style="color: #ff0000;">"add is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"edit"</span><br />              ? <span style="color: #ff0000;">"edit is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"next"</span><br />              ? <span style="color: #ff0000;">"browse next is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"prev"</span><br />              ? <span style="color: #ff0000;">"browse prev is required"</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"del"</span><br />              ? <span style="color: #ff0000;">"del is required"</span><br />        <span style="color: #00C800;">endcase</span>      <span style="color: #00C800;">case</span> cMethod == <span style="color: #ff0000;">"POST"</span><br />        ? <span style="color: #ff0000;">"We process a POST"</span><br />        <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />           <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"save"</span><br />              ? <span style="color: #ff0000;">"save is required"</span><br />        <span style="color: #00C800;">endcase</span><br />   endcasereturn nilfunction CheckTables<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>   <span style="color: #00C800;">if</span> ! File<span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links.dbf"</span> <span style="color: #000000;">&#41;</span><br />     DbCreate<span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links.dbf"</span>,;<br />               <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LINKDEST"</span>,   <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                 <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LINKNAME"</span>,   <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                 <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LONGTEXT"</span>,   <span style="color: #ff0000;">"M"</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">endif</span>  USE <span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links"</span> <span style="color: #000000;">&#41;</span> SHARED NEWreturn <span style="color: #00C800;">nil</span><br /><br />In fact, in the MVC design, the <span style="color: #ff0000;">"C"</span>ontroller is in charge <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">"Talk"</span> <span style="color: #0000ff;">to</span> the <span style="color: #ff0000;">"M"</span>odel <span style="color: #0000ff;">to</span> tell it what <span style="color: #0000ff;">to</span> <span style="color: #00C800;">do</span><br /><br /><span style="color: #00C800;">If</span> we put a little <span style="color: #0000ff;">of</span> object oriented programming <span style="color: #00C800;">for</span> a better structured code we <span style="color: #0000ff;">get</span>:<br /><span style="color: #B900B9;">// {% hb_SetEnv( "HB_INCLUDE", "/Users/anto/harbour/include" ) %}#include "hbclass.ch"function Main()   CheckTables()</span><br />  Controller<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #00C800;">return</span> nilfunction Controller<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>   <span style="color: #00C800;">local</span> cMethod := AP_Method<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">local</span> aArgs := hb_aTokens<span style="color: #000000;">&#40;</span> AP_Args<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">":"</span> <span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">local</span> oModel := Model<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>   <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />     <span style="color: #00C800;">case</span> cMethod == <span style="color: #ff0000;">"GET"</span><br />        ? <span style="color: #ff0000;">"We process a GET"</span><br />        <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />           <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"add"</span><br />              ? <span style="color: #ff0000;">"add is required"</span><br />              oModel:<span style="color: #000000;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"edit"</span><br />              ? <span style="color: #ff0000;">"edit is required"</span><br />              oModel:<span style="color: #00C800;">Edit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"next"</span><br />              ? <span style="color: #ff0000;">"browse next is required"</span><br />              oModel:<span style="color: #000000;">BrowseNext</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"prev"</span><br />              ? <span style="color: #ff0000;">"browse prev is required"</span><br />              oModel:<span style="color: #000000;">BrowsePrev</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>            <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"del"</span><br />              ? <span style="color: #ff0000;">"del is required"</span><br />              oModel:<span style="color: #000000;">Delete</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />        <span style="color: #00C800;">endcase</span>      <span style="color: #00C800;">case</span> cMethod == <span style="color: #ff0000;">"POST"</span><br />        ? <span style="color: #ff0000;">"We process a POST"</span><br />        <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />           <span style="color: #00C800;">case</span> aArgs<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> == <span style="color: #ff0000;">"save"</span><br />              ? <span style="color: #ff0000;">"save is required"</span><br />              oModel:<span style="color: #000000;">Save</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />        <span style="color: #00C800;">endcase</span><br />   endcasereturn nilfunction CheckTables<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>   <span style="color: #00C800;">if</span> ! File<span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links.dbf"</span> <span style="color: #000000;">&#41;</span><br />     DbCreate<span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links.dbf"</span>,;<br />               <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LINKDEST"</span>,   <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                 <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LINKNAME"</span>,   <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                 <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LONGTEXT"</span>,   <span style="color: #ff0000;">"M"</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />  <span style="color: #00C800;">endif</span>  USE <span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links"</span> <span style="color: #000000;">&#41;</span> SHARED NEWreturn nilCLASS Model   <span style="color: #00C800;">METHOD</span> Add<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> VIRTUAL<br />  <span style="color: #00C800;">METHOD</span> <span style="color: #00C800;">Edit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> VIRTUAL<br />  <span style="color: #00C800;">METHOD</span> BrowseNext<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> VIRTUAL<br />  <span style="color: #00C800;">METHOD</span> BrowsePrev<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> VIRTUAL<br />  <span style="color: #00C800;">METHOD</span> Delete<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> VIRTUAL<br />  <span style="color: #00C800;">METHOD</span> Save<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> VIRTUAL<br /><span style="color: #00C800;">ENDCLASS</span><br /> </div>[/code:11c8v2fm]
mod harbour ""SEAMAP""
Dear Antonio, now I copied your code into my project but I get following error when I read the web page: I also copied hbclass.ch from harbour to my seamap directory: Error: Syntax error "syntax error at '_HB_MEMBER'" operation: line:58 called from: ../../../apache.prg, (b)MAIN, line: 50 Can you please help me Best regards Otto
mod harbour ""SEAMAP""
Dear Antonio, your code before you add OOP works fine and I inserted a view. I have a question how I can forward an ARRAY to the view modul. [code=fw:283i0heu]<div class="fw" id="{CB}" style="font-family: monospace;"><br />alinks is a <span style="color: #00C800;">static</span> ARRAY<br /><br /><span style="color: #00C800;">function</span> CheckTables<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br />                       <span style="color: #00C800;">if</span> ! File<span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links.dbf"</span> <span style="color: #000000;">&#41;</span><br />                            DbCreate<span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links.dbf"</span>,;<br />                            <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LINKDEST"</span>, <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                            <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LINKNAME"</span>, <span style="color: #ff0000;">"C"</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>,;<br />                            <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LONGTEXT"</span>, <span style="color: #ff0000;">"M"</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />                        <span style="color: #00C800;">endif</span> <br />                        USE <span style="color: #000000;">&#40;</span> hb_GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"PRGPATH"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"/links"</span> <span style="color: #000000;">&#41;</span> SHARED <span style="color: #00C800;">NEW</span><br /><br />                        <span style="color: #00C800;">do</span> <span style="color: #00C800;">while</span> .not. eof<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />                            aadd<span style="color: #000000;">&#40;</span> alinks, <span style="color: #000000;">&#123;</span> field->linkdest, field->linkname, field->longtext <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />                            skip<br />                        <span style="color: #00C800;">enddo</span>    <br />                        USE<br />                        <br />                    <span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:283i0heu] In tBody of the view modul I do following: <tbody> <?prg local I := 0, cRow := "" //mod harbour code inside HTML TAG starts with <?prg for I := 1 to len( alinks ) cRow += '<tr>' cRow += '<th scope="row">' + ALLTRIM( str(I) ) + '</th>' cRow += "<td><a target='_blank' href=" + alinks[I,1] + ">" + alinks[I,2] + "</a>" cRow += '<br>' cRow += alinks[I,3] cRow += "</td>" next return cRow ?> </tbody> </table> But I get following error: [img:283i0heu]https&#58;//mybergland&#46;com/fwforum/modharbourseamap/clip8&#46;jpg[/img:283i0heu] Best regards Otto
mod harbour ""SEAMAP""
Hello all, I am coping from SLACK to our forum. I will format this later - this is so important information from Antonio showing how to use MVC that we should not lose. from SLACK <!-- m --><a class="postlink" href="https://mybergland.com/fwforum/fromslackmvc.txt">https://mybergland.com/fwforum/fromslackmvc.txt</a><!-- m -->
mod harbour ""SEAMAP""
[img:3i06ybst]https&#58;//mybergland&#46;com/fwforum/seamap&#46;jpg[/img:3i06ybst]
mod harbour + bootstrap
please Use the topic on forum <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewforum.php?f=45">viewforum.php?f=45</a><!-- l -->
mod harbour + bootstrap
Hello, Here you see the weather situation during the last 10 days always at 11 o'clock. We had one day without electricity. [url:1ez6uxa5]https&#58;//winhotel&#46;space/webcam/index_main&#46;prg[/url:1ez6uxa5] Somehow code with javascript source is blocked. I will prepare a download link. Best regards, Otto
mod harbour + bootstrap
Here with Safari on macOS Catalina works perfectly. Very, very nice.
mod harbour - The first milestone is reached
VIDEO [url:uufiv6ik]https&#58;//winhotel&#46;org/forum/milestone&#46;mp4[/url:uufiv6ik] Hello friends, It is the end of May. I am well on schedule. First, I would like to thank [b:uufiv6ik]Antonio Linares from Fivetechsoft[/b:uufiv6ik] for making it possible for us to program with Harbour on the web. It makes things so much easier when you don't have to learn anything new for the backend and can use all the Harbour power. I have now finished programming all the functions in the "cash book" module, and now I only need to take over the other program modules bit by bit. This is relatively quick, as a lot can be done with copy & paste and also partly automatically with Fivewin code. The cash book already has the same functionality as our desktop solution. There are still numerous log functions in the program, which affects the speed. But when developing, it is convenient to be able to look things up. We will gradually improve in future the look and design. However, functionality has priority. Best regards, Otto
mod harbour - The first milestone is reached
Video [url:3mdls6yq]https&#58;//winhotel&#46;org/forum/milestone&#46;mp4[/url:3mdls6yq] Hello friends, It is the end of May. I am well on schedule. First, I would like to thank [b:3mdls6yq]Antonio Linares from Fivetechsoft[/b:3mdls6yq] for making it possible for us to program with Harbour on the web. It makes things so much easier when you don't have to learn anything new for the backend and can use all the Harbour power. I have now finished programming all the functions in the "cash book" module, and now I only need to take over the other program modules bit by bit. This is relatively quick, as a lot can be done with copy & paste and also partly automatically with Fivewin code. The cash book already has the same functionality as our desktop solution. There are still numerous log functions in the program, which affects the speed. But when developing, it is convenient to be able to look things up. We will gradually improve in future the look and design. However, functionality has priority. Best regards, Otto
mod harbour - The first milestone is reached
Great!
mod harbour - The first milestone is reached
Otto, Very good!
mod harbour - The first milestone is reached
Congrats Otto. Nice work!
mod harbour - The first milestone is reached
Dear Otto, Good job.
mod harbour - incredible
Thank you, Massimo. Your contribution is so significant that I post it again here and in the Spanish forum. Best regards Otto Hello Otto. [b:3fm6zscw]I think that the most important part of mod_harbour is not the interface. This is something that you can make in different ways. Making some projects you can see that is possible to reuse all the code already made with harbour in windows. All the functions, the validations and data processing. This is incredible. You have nothing to rewrite. Yes, the forms are different and you must use another approach. It's the same that we had to make crossing from the old Dos programs to Windows. It's our work. Sometimes we have to learn something new. But when we understand the way mod_harbour work, you can make big things. If I have to make some new projects, also for a network, I will make it in mod_harbour. It can work with all computers (Apple too), tablets and if placed on a published server can work on web too. What can we ask more from a language that we already know ? [/b:3fm6zscw]
mod harbour - increíble
// Google translate Gracias Massimo. Su contribución es tan importante que la publico nuevamente aquí y en el foro español. Atentamente Otón Hola otto Creo que la parte más importante de mod_harbour no es la interfaz. Esto es algo que puedes hacer En maneras diferentes. Al hacer algunos proyectos, puede ver que es posible reutilizar todo el código ya hecho con puerto en windows. Todas las funciones, las validaciones y el procesamiento de datos. Esto es increíble. No tienes nada reescribir Sí, los formularios son diferentes y debe usar otro enfoque. Es lo mismo que tuvimos que hacer cruce de los viejos programas Dos a Windows. Es nuestro trabajo. A veces tenemos que aprender algo nuevo. Pero cuando comprendemos la forma en que funciona mod_harbour, puedes hacer grandes cosas. Si tengo que hacer algunos proyectos nuevos, También para una red, lo haré en mod_harbour. Puede funcionar con todas las computadoras (Apple también), tabletas y si se coloca en un servidor publicado también puede funcionar en la web. ¿Qué podemos pedir más de un idioma que ya sabemos? ------------------------------ Thank you, Massimo. Your contribution is so significant that I post it again here and in the Spanish forum. Best regards Otto Hello Otto. I think that the most important part of mod_harbour is not the interface. This is something that you can make in different ways. Making some projects you can see that is possible to reuse all the code already made with harbour in windows. All the functions, the validations and data processing. This is incredible. You have nothing to rewrite. Yes, the forms are different and you must use another approach. It's the same that we had to make crossing from the old Dos programs to Windows. It's our work. Sometimes we have to learn something new. But when we understand the way mod_harbour work, you can make big things. If I have to make some new projects, also for a network, I will make it in mod_harbour. It can work with all computers (Apple too), tablets and if placed on a published server can work on web too. What can we ask more from a language that we already know ?
mod harbour - increíble
Excelente <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Podemos empezar de una vez?
mod harbour - increíble
Mod-Harbour lleva siendo funcional desde el primer dia Solo tienes que seguir las instrucciones de instalación e ir haciendo tus pruebas bien con los ejemplo que hay o con los que tu vayas construyendo ( No confundir Mod-Harbour con Génesis, que es una "utilidad/framework" que se está haciendo y que corre bajo Mod-Harbour )
mod harbour - increíble
Cristobal gracias por la respuesta, Lo que pasa es que en días anteriores había preguntado sobre la posibilidad de instalar MOD-HARBOUR en un servidor compartido, de los que manejan cpanel, en ese momento me habían dicho que no era posible, pero según la traducción, lo que logre entender es que ya es posible utilizarlo en servidor compartido, también que las "funciones", que tenemos en nuestras aplicaciones son totalmente compatibles, al igual que las conexiones en red, que lo único que habría que re-diseñar serian los formularios. En este momento estoy implementando un proyecto en PHP, JAVASCRIPT, JQUER AJAX, me gustaría dejar toda la parte CSS osea el FRONT, y cambiar el código de PHP por el de MOD-HARBOUR, para la base de datos. Esto es lo que llevo. [url:29vookuk]http&#58;//www&#46;hymplus&#46;com/site/[/url:29vookuk] Es posible desarrollar ese proyecto ya? De paso abusando de tu confianza, podrías explicarme cual es la diferencia entre GENESIS Y MOD-HARBOUR. Por ultimo, cual va a ser el costo de MOD-HARBOUR?
mod harbour - increíble
Sin conocer el alcance de tu proyecto, creo que sería posible, aunque te recomiendo antes realizar pruebas de concepto y producción. En cuanto al coste, este proyecto nació "Open Source" y seguirá siéndolo La diferencia entre Genesis y Mod-Harbour, es que Genesis es un "framework" bajo Mod-Harbour que permite al usuario tener una aplicación hecha con unos cuantos clicks. Hay un foro con apuntes sobre el tema además del slack <!-- m --><a class="postlink" href="https://forum.mod-harbour.org/viewforum.php?f=22&sid=290efffae07fd4e0d2d4f25ff5ca77fd">https://forum.mod-harbour.org/viewforum ... 5ff5ca77fd</a><!-- m -->
mod harbour - increíble
Estimado Señores. Mod Harbour. Los felicito por tan tenaz proyecto, he venido siguiente algunas cosillas y avances y nos damos cuenta que van y apuntando alto con este proyecto. Yo hice pruebas y hace acosas alucinantes, pero dentro de este trabajo que ha comido miles de horas de trabajo videos prueba error y cientos de preguntas, la mia viene , Mod Habour sera gratuito ? , cual sera el valor economico a este esfuerzo que han hecho , Genesis sera de paga ?. Admiramos su esfuerzo y instamos a seguir adelante porque es prometedor para muchos de nosotros,
mod harbour - increíble
Oscar, mod_harbour es y será gratuito. Es un proyecto libre con el objetivo de poder usar Harbour en la web y de que Harbour se consolide como una herramienta web muy válida. Génesis es un proyecto comercial, ya que será ofrecido desde servidores xbase especializados, en donde con solo registrarse y de manera automática, podremos construir nuestras aplicaciones web con Harbour teniendo muy pocos conocimientos de la web. Sin embargo, se ofrecerá de forma gratuita, para poder usarlo sin restricciones, durante el tiempo necesario para valorar si es ó no útil para nuestras necesidades, y en tal caso pagar una cuota anual muy baja y con la garantía de tener la mejor infraestuctura para usarlo, la versión más reciente sin tener que instalar nada en nuestros ordenadores ni en los del cliente y con el respaldo técnico de FiveTech. Génesis es un ERP profesional, como pueda serlo Laravel para PHP, pero con la simplicidad del xbase y la facilidad de uso de Harbour. Su objetivo es ser un RAD (desarrollo rápido de aplicaciones) para que podamos prototipar en tiempo record nuestras aplicaciones y así poder mostrarlas a nuestros clientes potenciales.
mod harbour - increíble
Gracias Antonio. Exelente.. Esperamos con ansias..