Re: [WebDNA] [ArrayGet] [ArraySet]

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111042
interpreted = N
texte = Hi Lawrence, There are some developers that have made good use of arrays that I know of.. but I don't personally put it to use that often. In WebDNA (so far at least) the "key's" for the array are a path. This is perhaps more limiting than, say, PHP, where keys can be a string or other value types.. creating more of a map. Of course, the good news is that WebDNA is not based around arrays, like PHP ;-).. we have much more useful tools like formvariables, table, etc.. to store / retrieve / move data. However, one could make use WebDNA arrays.. perhaps especially if the key path was accessible. For example, lets say you had your meals planned out for the entire year ;-), and this info was in a 2 dimensional array called "meal". [text multi=T]mJanuary=1&mFebruary=2&mMarch=3&mApril=4.. etc.. to 12[/text] [!] day is simply the number [dd] [/!] My Meal for March 20th is: [meal([mMarch],20)] I haven't personally tested the access speed of an array, but historically, the claim is that it is a faster data access than the other methods of getting to data in WebDNA. So, logically, I would say that it's benefit is in situations where there is a static data set that needs to perform well with access under load. Hope this helps, Donovan > > --- Original message --- > Subject: [WebDNA] [ArrayGet] [ArraySet] > From: Lawrence Banahan > To: talk@webdna.us > Date: Wednesday, 22/01/2014 6:09 AM > > Hi > > I need some help to understand [ArrayGet] [ArraySet] > I never used them since now. > I went through the docs but it still looks obsure to me. > I also went through google to found some general information about it > but didn't found much help. > Could you tell me in wish case you use it, or any other informations > that would help me to understand. > Thanks > Lawrence > --------------------------------------------------------- > 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [ArrayGet] [ArraySet] (Donovan Brooke 2014)
  2. [WebDNA] [ArrayGet] [ArraySet] (Lawrence Banahan 2014)
Hi Lawrence, There are some developers that have made good use of arrays that I know of.. but I don't personally put it to use that often. In WebDNA (so far at least) the "key's" for the array are a path. This is perhaps more limiting than, say, PHP, where keys can be a string or other value types.. creating more of a map. Of course, the good news is that WebDNA is not based around arrays, like PHP ;-).. we have much more useful tools like formvariables, table, etc.. to store / retrieve / move data. However, one could make use WebDNA arrays.. perhaps especially if the key path was accessible. For example, lets say you had your meals planned out for the entire year ;-), and this info was in a 2 dimensional array called "meal". [text multi=T]mJanuary=1&mFebruary=2&mMarch=3&mApril=4.. etc.. to 12[/text] [!] day is simply the number [dd] [/!] My Meal for March 20th is: [meal([mMarch],20)] I haven't personally tested the access speed of an array, but historically, the claim is that it is a faster data access than the other methods of getting to data in WebDNA. So, logically, I would say that it's benefit is in situations where there is a static data set that needs to perform well with access under load. Hope this helps, Donovan > > --- Original message --- > Subject: [WebDNA] [ArrayGet] [ArraySet] > From: Lawrence Banahan > To: talk@webdna.us > Date: Wednesday, 22/01/2014 6:09 AM > > Hi > > I need some help to understand [ArrayGet] [ArraySet] > I never used them since now. > I went through the docs but it still looks obsure to me. > I also went through google to found some general information about it > but didn't found much help. > Could you tell me in wish case you use it, or any other informations > that would help me to understand. > Thanks > Lawrence > --------------------------------------------------------- > 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 Donovan Brooke

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:

WebCatalog not running after upgrade (2000) WebCatalog Technical Reference (1997) Error Log.db --however (1997) converted seed value? (1998) macosx 1 process, linux N processes, macosx chokes under load (2001) Fun with dates (1997) Smith Micro - no competition (2000) [WebDNA] 301 redirect (2016) WYSIWYG Entry of text fields (2001) Re:Message Board (1998) WebCatalog for Mac 2.0.1 Released (1997) RE: [redirect] w/o showing args? (1999) WebCatalog/Mac 2.1b2 New Features (1997) Installation webCatalog (French speakers please help) (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Separate SSL Server (1997) TCPConnect Timeout (2003) question: Eudora 3.1.1 (1997) WebCat2 - [format thousands] (1997) E-Mail Formatting (2000)