Questions tagged [static-data]

Static or reference data is information encoded by a programmer which generally does not change at runtime. Contrast to transactional or operational data which is generated or modified by user activity or other events at runtime. The term "static data" typically refers to data in a database context, though not necessarily so.

Static or reference data is information encoded by a programmer which generally does not change at runtime. Contrast to transactional or operational data which is generated or modified by user activity or other events at runtime.

The term "static data" typically refers to data in a database context, though not necessarily so.

57 questions
6
votes
3 answers

How to sort an ArrayCollection in Flex

I want to sort an Arraycollection by fieldName as ascending. Here's my code and I want to know whether it's right. Do you have any suggestions? public static function arrayCollectionSort(ar:ArrayCollection, fieldName:String, isNumeric:Boolean):void…
Aravinth
  • 363
  • 2
  • 10
  • 33
6
votes
1 answer

Design of snapshots in a transactional database along with versioning of reference data

Disclaimer: I have read everything that I can read on the topic of snapshots and versioning on both stack overflow and on internet. My requirement is not version tracking for audit trail or the database-level snapshots. I have spent more than 1…
4
votes
2 answers

Ways to store large set of static data in frontend

I need to display some data (mostly text) in my react-app. The data is more like guidelines and will not be changed often. So storing it to DB doesn't make sense to me here. What are the ways to store this in frontend? What I did: I'm thinking of…
Vishnu
  • 1,611
  • 1
  • 14
  • 27
4
votes
3 answers

Design pattern for accessing static data

I have a scenario where I have a set of credentials for each environment e.g. for dev env username1/pwd1, for qa env username2/pwd2, for staging username3/pwd3 and so on. Now I want to create a class which will return me a set of credentials based…
MaxRecursion
  • 4,773
  • 12
  • 42
  • 76
4
votes
1 answer

iOS virtual memory: does iOS automatically page out static const arrays when memory is scarce?

If you have a giant static const array (say, several tens of megabytes) that never changes and is only used at startup, is it automatically paged out when memory is scarce? That is, does iOS know that your static const data can simply be reloaded…
Todd Lehman
  • 2,880
  • 1
  • 26
  • 32
4
votes
2 answers

Where should I store static data in a web application

I have a general question about writing web applications. Many times I have static data, say a list of countries, or a list of options for radio buttons or a drop down menu. I don't like hard coding this stuff into the HTML because it makes it…
user2662692
  • 227
  • 5
  • 15
4
votes
4 answers

What is the opposite of "Reference Data"?

I'm looking for a term that means "non-reference" data i.e. any data in a database that strictly ISN'T reference data. Master Data /\ / \ / \ / \ / \ / \ Reference…
Steve Chambers
  • 37,270
  • 24
  • 156
  • 208
3
votes
2 answers

is this a good idea with static data

So i have an ever growing system in PHP where i have a static class that takes care of the database connection stuff.
ThePrimeagen
  • 4,462
  • 4
  • 31
  • 44
3
votes
2 answers

Assembly function address table and data under the function or in data section

I have a question about putting data (address table or other data) in the .text section under its function or put in .data section? For example, I have a function like this : extern int i0(); extern int i1(); extern int i2(); extern int i3(); extern…
HelloMachine
  • 355
  • 2
  • 8
3
votes
4 answers

Generate seed data in Visual Studio 2010 Database project

I have a database and a database project in Visual studio 2010. I inferred the schema in the database project successfully but I also need to import somehow the data in a few tables (Country, State, UserType etc.) that are reference tables and not…
3
votes
2 answers

Managing DB reference data and it's related code

Reference Data, or lookup tables are things like CustomerType, ProductType and so on. They change infrequently, occasionally a new type is added or an old one retired. In code they're often reproduced as enums/constants, and also used to populate…
MrTelly
  • 14,657
  • 1
  • 48
  • 81
3
votes
2 answers

Android: using Firebase to store static data

I'm developing an android application that will allow users to find informations about the streets in my city. They will be able to register and save some streets as "favourites". My question is, how can I use Firebase to store the streets data…
3
votes
1 answer

What is the best way to load static objects in an iOS app?

I have a list of about 100 address. I want to use the CLGeocoder Class and the geocodeAddressDictionary or geocodeAddressString methods to get a list of CLPlacemarks for each address. I don't want the app to do this every time it starts up (as the…
user2662692
  • 227
  • 5
  • 15
3
votes
1 answer

Reference Data Pattern

Similar to this thread, but not exactly: How To Cache Information In A Threadsafe Manner What is the usual pattern for dealing with "reference data" - data that is frequently read by an application, usually externalized in a database or properties…
ayang
  • 446
  • 6
  • 22
2
votes
1 answer

Static const data member of a class as a size of a member array of the same class?

I am making List class through fixed sized arrays. I want to declare ARRAY_SIZE within the class as a static const data member therefore my class is self contained and also I can use it as a size of an array in array declaration in the same class.…
SANG
  • 31
  • 1
1
2 3 4