Re: [WebDNA] Setting up a new server, hierarchy question

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111287
interpreted = N
texte = --Apple-Mail=_E91852CD-5B4C-4B4B-A4D6-E71F74424185 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 v7 does not have globals. If you link to something outside of the site = path and have multiple sites accessing it you have issues with multiple = copies of WebDNA updating the database at the same time. One possibility is to have a central page on one vhost that handles all = database updates, and use [tcpconnect] to access that page from the = other vhosts. You could still read the database directly from multiple = sites, but you would need to close it after an update to make sure you = see the changes on the next search. You will pay a bit of a performance = penalty, but if site traffic isn=92t too high then it=92s workable. An upcoming =93Server=94 version of v7 expected to have v6-style globals = available. - Brian On Apr 8, 2014, at 7:37 AM, Dan Strong wrote: > V7 has no globals as far as I recall (somebody please correct me if = I'm wrong). I imagine you could probably "roll your own" Globals outside = of the vhosts and symlink to them. If you decide to not use v7 then 6.2 = is the last non-beta version: >=20 >=20 > -Dan Strong > http://DanStrong.com >=20 >=20 > On Tue, Apr 8, 2014 at 7:31 AM, frederite wrote: > The client has v7. Is it practical with v7, or impossible, or more = trouble that it's worth? >=20 > I can ask the client to switch to a different version if necessary, = but which one? =20 >=20 > Where is Globals? Can its location be specified in settings or is it = fixed? >=20 >=20 > On Tue, Apr 8, 2014 at 9:21 AM, Dan Strong wrote: > If using version other than 7, Globals is what I would do >=20 > -Dan Strong > http://DanStrong.com >=20 >=20 > On Tue, Apr 8, 2014 at 7:20 AM, frederite wrote: > I am setting up a new server. Several vhosts need to read and write = to the same databases. Where should I put them? Can you suggest the = best folder hierarchy for this goal? > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_E91852CD-5B4C-4B4B-A4D6-E71F74424185 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 v7 does not have globals. If you = link to something outside of the site path and have multiple sites = accessing it you have issues with multiple copies of WebDNA updating the = database at the same time.

One possibility is to have = a central page on one vhost that handles all database updates, and use = [tcpconnect] to access that page from the other vhosts. You could still = read the database directly from multiple sites, but you would need to = close it after an update to make sure you see the changes on the next = search. You will pay a bit of a performance penalty, but if site traffic = isn=92t too high then it=92s workable.

An = upcoming =93Server=94 version of v7 expected to have v6-style globals = available.

- Brian

On Apr = 8, 2014, at 7:37 AM, Dan Strong <dan@danstrong.com> = wrote:

V7 has no globals as far as I recall = (somebody please correct me if I'm wrong). I imagine you could probably = "roll your own" Globals outside of the vhosts and symlink to them. If = you decide to not use v7 then 6.2 is the last non-beta version:




On Tue, Apr 8, 2014 at 7:31 AM, = frederite <frederite@gmail.com> = wrote:
The client has v7.  Is it practical with v7, = or impossible, or more trouble that it's worth?

I can ask = the client to switch to a different version if necessary, but which = one? 

Where is Globals? Can its location be specified in settings or is it = fixed?


On Tue, Apr 8, = 2014 at 9:21 AM, Dan Strong <dan@danstrong.com> wrote:
If = using version other than 7, Globals is what I would do



On Tue, Apr 8, 2014 at 7:20 AM, = frederite <frederite@gmail.com> = wrote:
I am setting up a new server.  Several vhosts need = to read and write to the same databases.  Where should I put = them?  Can you suggest the best folder hierarchy for this = goal?
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

=
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_E91852CD-5B4C-4B4B-A4D6-E71F74424185-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Setting up a new server, hierarchy question (frederite 2014)
  2. Re: [WebDNA] Setting up a new server, hierarchy question (Donovan Brooke 2014)
  3. Re: [WebDNA] Setting up a new server, hierarchy question (frederite 2014)
  4. Re: [WebDNA] Setting up a new server, hierarchy question (Terry Wilson 2014)
  5. Re: [WebDNA] Setting up a new server, hierarchy question (Brian Fries 2014)
  6. Re: [WebDNA] Setting up a new server, hierarchy question (Dan Strong 2014)
  7. Re: [WebDNA] Setting up a new server, hierarchy question (frederite 2014)
  8. Re: [WebDNA] Setting up a new server, hierarchy question (Dan Strong 2014)
  9. [WebDNA] Setting up a new server, hierarchy question (frederite 2014)
--Apple-Mail=_E91852CD-5B4C-4B4B-A4D6-E71F74424185 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 v7 does not have globals. If you link to something outside of the site = path and have multiple sites accessing it you have issues with multiple = copies of WebDNA updating the database at the same time. One possibility is to have a central page on one vhost that handles all = database updates, and use [tcpconnect] to access that page from the = other vhosts. You could still read the database directly from multiple = sites, but you would need to close it after an update to make sure you = see the changes on the next search. You will pay a bit of a performance = penalty, but if site traffic isn=92t too high then it=92s workable. An upcoming =93Server=94 version of v7 expected to have v6-style globals = available. - Brian On Apr 8, 2014, at 7:37 AM, Dan Strong wrote: > V7 has no globals as far as I recall (somebody please correct me if = I'm wrong). I imagine you could probably "roll your own" Globals outside = of the vhosts and symlink to them. If you decide to not use v7 then 6.2 = is the last non-beta version: >=20 >=20 > -Dan Strong > http://DanStrong.com >=20 >=20 > On Tue, Apr 8, 2014 at 7:31 AM, frederite wrote: > The client has v7. Is it practical with v7, or impossible, or more = trouble that it's worth? >=20 > I can ask the client to switch to a different version if necessary, = but which one? =20 >=20 > Where is Globals? Can its location be specified in settings or is it = fixed? >=20 >=20 > On Tue, Apr 8, 2014 at 9:21 AM, Dan Strong wrote: > If using version other than 7, Globals is what I would do >=20 > -Dan Strong > http://DanStrong.com >=20 >=20 > On Tue, Apr 8, 2014 at 7:20 AM, frederite wrote: > I am setting up a new server. Several vhosts need to read and write = to the same databases. Where should I put them? Can you suggest the = best folder hierarchy for this goal? > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_E91852CD-5B4C-4B4B-A4D6-E71F74424185 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 v7 does not have globals. If you = link to something outside of the site path and have multiple sites = accessing it you have issues with multiple copies of WebDNA updating the = database at the same time.

One possibility is to have = a central page on one vhost that handles all database updates, and use = [tcpconnect] to access that page from the other vhosts. You could still = read the database directly from multiple sites, but you would need to = close it after an update to make sure you see the changes on the next = search. You will pay a bit of a performance penalty, but if site traffic = isn=92t too high then it=92s workable.

An = upcoming =93Server=94 version of v7 expected to have v6-style globals = available.

- Brian

On Apr = 8, 2014, at 7:37 AM, Dan Strong <dan@danstrong.com> = wrote:

V7 has no globals as far as I recall = (somebody please correct me if I'm wrong). I imagine you could probably = "roll your own" Globals outside of the vhosts and symlink to them. If = you decide to not use v7 then 6.2 is the last non-beta version:




On Tue, Apr 8, 2014 at 7:31 AM, = frederite <frederite@gmail.com> = wrote:
The client has v7.  Is it practical with v7, = or impossible, or more trouble that it's worth?

I can ask = the client to switch to a different version if necessary, but which = one? 

Where is Globals? Can its location be specified in settings or is it = fixed?


On Tue, Apr 8, = 2014 at 9:21 AM, Dan Strong <dan@danstrong.com> wrote:
If = using version other than 7, Globals is what I would do



On Tue, Apr 8, 2014 at 7:20 AM, = frederite <frederite@gmail.com> = wrote:
I am setting up a new server.  Several vhosts need = to read and write to the same databases.  Where should I put = them?  Can you suggest the best folder hierarchy for this = goal?
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

=
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_E91852CD-5B4C-4B4B-A4D6-E71F74424185-- Brian Fries

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Resource Materials (2000) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) There's a bug in the math context ... (1997) PhotoMill -> PhotoMaster (1997) Security stumper [mildly OT] (2004) WebCat2b15MacPlugin - showing [math] (1997) WebCat2 several catalogs? (1997) 5.0 Pricing (2003) required fields (1998) Document contains no data 2 (1998) Database Security (1998) WC 4.0 (2000) resorting found set (2005) Where is f2? (1997) NT vs Mac (1997) Some Questions (1997) [WebDNA] re: (2012) RE: Cookies? (1997) [ConvertChars] problem (1997) WebCat2: Items xx to xx shown, etc. (1997)