This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
376
Web Server - Share Knowledge / Re: Example Nettalk Sites
« on: January 28, 2009, 04:09:46 PM »
Hi Jim,
We have our own hosting environment internally. With about 40 servers in two racks. Frankly we could do all our stuff with about 8 servers, but i like toys.
Regards
Bill
We have our own hosting environment internally. With about 40 servers in two racks. Frankly we could do all our stuff with about 8 servers, but i like toys.
Regards
Bill
377
Web Server - Ask For Help / Re: Volunteers Needed to run Test
« on: January 27, 2009, 05:28:54 AM »
oops... just read the rest of Bruce's post... and source code is available... i'll shutup now and just add it
378
Web Server - Ask For Help / Re: Volunteers Needed to run Test
« on: January 27, 2009, 05:26:44 AM »
Hi,
Happy to help.
If its practical for Graham to release the source code (i already have a systray app doing comms, so i can throw it in there). I can get it onto about 1000 pcs on about 200 different connections of all varying speed and quality.
Failing that happy to help with a bunch of work computers.
Regards
Bill Shields
Happy to help.
If its practical for Graham to release the source code (i already have a systray app doing comms, so i can throw it in there). I can get it onto about 1000 pcs on about 200 different connections of all varying speed and quality.
Failing that happy to help with a bunch of work computers.
Regards
Bill Shields
379
Web Server - Share Knowledge / Re: Example Nettalk Sites
« on: January 27, 2009, 05:18:09 AM »
Hi Bruce,
Yeah we did most of this stuff about a year ago.
I thought people might be curious how we built "standard" looking stuff whilst using Nettalk and Clarion as a very effective replacement for ASP / PHP or .NET.
Also, all the real estate websites are built off a single nettalk server that supports a "toolbox" or "superset" of common real estate functions. So as we built each new one, it can be as little as 10 minutes work if they use a predefined template or about a days work if its custom.
What I really like is we have one set of source code for the webserver engine and templates that contain the HTML/CSS/JS stuff for the visuals. So we've finally separated the bulk of the programming logic from the visuals of the site.
Most of our competitors just copy and paste the web script from one site to another and then modify it. Which means after a few years you have a mass of source code that is all over the shop and maintenance is a huge problem. Using Nettalk as our webserver allows us to retro fit new functionality into all our websites at once.
Regards
Bill
Yeah we did most of this stuff about a year ago.
I thought people might be curious how we built "standard" looking stuff whilst using Nettalk and Clarion as a very effective replacement for ASP / PHP or .NET.
Also, all the real estate websites are built off a single nettalk server that supports a "toolbox" or "superset" of common real estate functions. So as we built each new one, it can be as little as 10 minutes work if they use a predefined template or about a days work if its custom.
What I really like is we have one set of source code for the webserver engine and templates that contain the HTML/CSS/JS stuff for the visuals. So we've finally separated the bulk of the programming logic from the visuals of the site.
Most of our competitors just copy and paste the web script from one site to another and then modify it. Which means after a few years you have a mass of source code that is all over the shop and maintenance is a huge problem. Using Nettalk as our webserver allows us to retro fit new functionality into all our websites at once.
Regards
Bill
380
Web Server - Share Knowledge / Example Nettalk Sites
« on: January 25, 2009, 08:06:41 PM »
Hi All,
I've been meaning to do this for a while, below is a list of some of my sites built in Nettalk. As you'll see some are "stock" and some are a bit worked.
LJ Hooker Digital Asset Management System
http://dam.ljhooker.com
Login: demo
password: demo
Written in a few days, as their Getty DAM wouldn't work properly. Has a clarion desktop app that manages the backend. MSSQL.
Inhabit Website
http://inhabit.com.au
My website. There is the boring stock website (served by Nettalk), but what you can't see is all the webservice stuff written in nettalk for email campaign tracking.
Real Estate Customer Websites
Below is a sample of some of our websites that use Clarion/Nettalk to serve and maintain them.
http://www.rtforsyth.com.au
http://www.prdwagga.com.au
http://www.prdshailerpark.com.au
http://www.boydell.com.au
http://www.prdnq.com.au
http://web.agencyone.net.au/MainPage?o=68
http://www.prdlanecove.com.au
You can also view the backend admin section of http://www.prdlanecove.com.au by clicking on the Login link top right of homepage and use
Login: admin
Password: demo123
Also has Clarion app used by us to manage websites, the one system hosts about 30 customers real estate websites. PostgresSQL
Realworks Form System
http://www.litehouse.com.au/
Login: demo
Password: demo
This is a generic PDF form online system. You create PDF forms, add additional commands to the PDF fields and the desktop app processes the PDF in a way that a generic Nettalk server can read the extended PDF and generate a form for entry and updating. Data is stored within XML (since the PDFs actually dictate the data that is stored).
There is also a PDF Merge server for generating the final PDFs (not to be confused with the Master PDFs used to create the forms).
These systems are in production so please be respectful and don't do anything inappropriate.
I have some other bigger systems, that have a heap more complex systems, but they aren't yet in production. I'll post those as I get them settled in.
Regards
Bill Shields
I've been meaning to do this for a while, below is a list of some of my sites built in Nettalk. As you'll see some are "stock" and some are a bit worked.
LJ Hooker Digital Asset Management System
http://dam.ljhooker.com
Login: demo
password: demo
Written in a few days, as their Getty DAM wouldn't work properly. Has a clarion desktop app that manages the backend. MSSQL.
Inhabit Website
http://inhabit.com.au
My website. There is the boring stock website (served by Nettalk), but what you can't see is all the webservice stuff written in nettalk for email campaign tracking.
Real Estate Customer Websites
Below is a sample of some of our websites that use Clarion/Nettalk to serve and maintain them.
http://www.rtforsyth.com.au
http://www.prdwagga.com.au
http://www.prdshailerpark.com.au
http://www.boydell.com.au
http://www.prdnq.com.au
http://web.agencyone.net.au/MainPage?o=68
http://www.prdlanecove.com.au
You can also view the backend admin section of http://www.prdlanecove.com.au by clicking on the Login link top right of homepage and use
Login: admin
Password: demo123
Also has Clarion app used by us to manage websites, the one system hosts about 30 customers real estate websites. PostgresSQL
Realworks Form System
http://www.litehouse.com.au/
Login: demo
Password: demo
This is a generic PDF form online system. You create PDF forms, add additional commands to the PDF fields and the desktop app processes the PDF in a way that a generic Nettalk server can read the extended PDF and generate a form for entry and updating. Data is stored within XML (since the PDFs actually dictate the data that is stored).
There is also a PDF Merge server for generating the final PDFs (not to be confused with the Master PDFs used to create the forms).
These systems are in production so please be respectful and don't do anything inappropriate.
I have some other bigger systems, that have a heap more complex systems, but they aren't yet in production. I'll post those as I get them settled in.
Regards
Bill Shields
381
Web Server - Ask For Help / Re: Passing SessionID and AJAX
« on: May 21, 2008, 01:26:37 AM »
Hi Bruce,
The session id was being passed as a cookie (or html header if cookies were disabled), however, it was the wrong sessionid (not the one passed on the URL).
Will bring the App to Eden (or will catch you after conference @ LJH if i don't get there).
Regards
Bill
The session id was being passed as a cookie (or html header if cookies were disabled), however, it was the wrong sessionid (not the one passed on the URL).
Will bring the App to Eden (or will catch you after conference @ LJH if i don't get there).
Regards
Bill
382
Web Server - Ask For Help / Passing SessionID and AJAX
« on: May 18, 2008, 04:46:40 AM »
Hi,
Here is an interesting problem i have. I've got around the problem but someone may have faced this before and come up with something better!
In Summary: When passing the SessionID manually in the URL, all normal functionality works except AJAX. Specifically the SetServer JS function doesn't work (no errors, just doesn't work anymore).
1. Why am i passing the URL - I am integrating a desktop app with a Web App. I have build an XML Web service in NT that allows a login to be performs and a sessionid be returned in XML.
2. Subsequent calls to the web site have the SessionID added to the URL and normal stuff works. Very tidy, very happy.
3. But AJAX functionalty has stopped. Debugging showed me that the correct SessionID is not picked up by the AJAX call (SetServer fuction) therefore in any work i'm doing server side cannot see my Session varliables.
4. After some mucking around and putting a hack into the Templates I modified how the SetServer JS function was being called by adding the SessionID. It put up a struggle but i finally got the syntax such that prototype was happy and it all magically started working again.
I suspect it might be a bug... but i know i'm pushing things, so it could easily be me.
I am in NetTalk 4.30.
Regards
Bill Shields
Here is an interesting problem i have. I've got around the problem but someone may have faced this before and come up with something better!
In Summary: When passing the SessionID manually in the URL, all normal functionality works except AJAX. Specifically the SetServer JS function doesn't work (no errors, just doesn't work anymore).
1. Why am i passing the URL - I am integrating a desktop app with a Web App. I have build an XML Web service in NT that allows a login to be performs and a sessionid be returned in XML.
2. Subsequent calls to the web site have the SessionID added to the URL and normal stuff works. Very tidy, very happy.
3. But AJAX functionalty has stopped. Debugging showed me that the correct SessionID is not picked up by the AJAX call (SetServer fuction) therefore in any work i'm doing server side cannot see my Session varliables.
4. After some mucking around and putting a hack into the Templates I modified how the SetServer JS function was being called by adding the SessionID. It put up a struggle but i finally got the syntax such that prototype was happy and it all magically started working again.
I suspect it might be a bug... but i know i'm pushing things, so it could easily be me.
I am in NetTalk 4.30.
Regards
Bill Shields
383
Web Server - Ask For Help / Re: Delete link in browse - how?
« on: April 19, 2008, 08:32:13 PM »
Hi Mike,
Sorry about that, i have given you half the answer. I just looked at an old app that did something similar.... but not the delete action.
I have done this and tested it. Anyway here goes... (don't laugh Bruce!)
1. Create local variable in browse procedure DeleteLink STRING
2. At embed "Before Table Rows" insert this shocker
DeleteLink = '<a href="#"
onclick="var junk = document.createElement(''BUTTON'');
document.ContactBrowseFilter_frm.action=''ContactBrowseFilter?FromForm=ContactUpdate''; document.ContactBrowseFilter_frm.target='''';
dsb(ContactBrowseFilter_frm,junk,''deleteb_btn'',''CON__SysID'','''&CLIP(CON:SysID)&''');">
Delete</a>'
3. Place this field in the browser and turn Allow XTHML on that field.
In my example:
ContactBrowseFilter is a memory form that holds browse filters
ContactBrowse is the actual browse
ContactUpdate is the update page
CON__SysID is my unique field
A breif explaination
junk is an object just so i have the correct parameters for the dsb method, it does nothing
dsb does the submit and all the fancy work.
Regards
Bill
Sorry about that, i have given you half the answer. I just looked at an old app that did something similar.... but not the delete action.
I have done this and tested it. Anyway here goes... (don't laugh Bruce!)
1. Create local variable in browse procedure DeleteLink STRING
2. At embed "Before Table Rows" insert this shocker
DeleteLink = '<a href="#"
onclick="var junk = document.createElement(''BUTTON'');
document.ContactBrowseFilter_frm.action=''ContactBrowseFilter?FromForm=ContactUpdate''; document.ContactBrowseFilter_frm.target='''';
dsb(ContactBrowseFilter_frm,junk,''deleteb_btn'',''CON__SysID'','''&CLIP(CON:SysID)&''');">
Delete</a>'
3. Place this field in the browser and turn Allow XTHML on that field.
In my example:
ContactBrowseFilter is a memory form that holds browse filters
ContactBrowse is the actual browse
ContactUpdate is the update page
CON__SysID is my unique field
A breif explaination
junk is an object just so i have the correct parameters for the dsb method, it does nothing
dsb does the submit and all the fancy work.
Regards
Bill
384
Web Server - Ask For Help / Re: Which embed to put another button next to change insert delete on browse
« on: April 19, 2008, 05:24:40 PM »
Hi Mike,
I noticed no one answered this... so just in case you still were looking i'll add my bit in here.
AT "AfterUpdateButtonsBottom" EMBED
If loc:found
packet = clip(packet) & p_web.CreateButton('submit','change_btn','Change to Listing','XLargeButton',loc:FormName,'TaskLost2Listing','','','',-1,'images/listing.png',16,16,'','')
do SendPacket
End
loc:found means there are some rows in the browse
Bruce has some nice methods for creating buttons (should have seen the crap i wrote before i found these!).
Look up the CreateButton in Bruces code for the parameters, in my example "TaskLost2Listing" is a page that does some processing. XLargeButton is an extra CSS style i use for really big buttons
Your unique key value for the row highlighted will be available in the POST data in the new procedure.
Regards
Bill
I noticed no one answered this... so just in case you still were looking i'll add my bit in here.
AT "AfterUpdateButtonsBottom" EMBED
If loc:found
packet = clip(packet) & p_web.CreateButton('submit','change_btn','Change to Listing','XLargeButton',loc:FormName,'TaskLost2Listing','','','',-1,'images/listing.png',16,16,'','')
do SendPacket
End
loc:found means there are some rows in the browse
Bruce has some nice methods for creating buttons (should have seen the crap i wrote before i found these!).
Look up the CreateButton in Bruces code for the parameters, in my example "TaskLost2Listing" is a page that does some processing. XLargeButton is an extra CSS style i use for really big buttons
Your unique key value for the row highlighted will be available in the POST data in the new procedure.
Regards
Bill
385
Web Server - Ask For Help / Re: Delete link in browse - how?
« on: April 19, 2008, 07:06:52 AM »
Hi Mike,
If i understand your question correctly. Just use the appropriate javascript within a <a> tag.
Place this type of HTML inline:
<a href="#" onclick="document.ArticleTable_frm.action='ArticleTable?FromForm=ArticleUpdate'; document.ArticleTable_frm.target=''; dsb(ArticleTable_frm,deleteb_btn,'deleteb_btn','','');">Press here to delete</a>
All the stuff in the Onclick is the normal javascript NetTalk would generate for a delete button.
I know its lazy, but it works.
Regards
Bill
If i understand your question correctly. Just use the appropriate javascript within a <a> tag.
Place this type of HTML inline:
<a href="#" onclick="document.ArticleTable_frm.action='ArticleTable?FromForm=ArticleUpdate'; document.ArticleTable_frm.target=''; dsb(ArticleTable_frm,deleteb_btn,'deleteb_btn','','');">Press here to delete</a>
All the stuff in the Onclick is the normal javascript NetTalk would generate for a delete button.
I know its lazy, but it works.
Regards
Bill