Now to add the extensibility without DB knowledge

Hi,
I am developing a Parking Slot application, which contains "n" number of parking slots say for example 600 slots.
These slot information are not stored in the DB.These parking slots keep on extending as per the car and bike which you are going
to park. Now my question is how we can achieve this extensibility? as well as without DB how we can figure out how many
slots are occupied and how many are available? Yes we can store the information in a In memory DB or a file system or use a
collection framework like list or map to hold the information but still how we can manage the extensibility as these
parking slots keeps on growing as well as how we can find out the number of slots occupied or available?
Thanks.

Hi,
797836 wrote:
as well as without DB...What's wrong with using a database? It sounds like it would perfectly address your needs, and there are plenty of free, lightweight options available. The size of the table can increase and decrease without limit, and you can easily get the total count of occupied/available spaces.
or use a collection framework like list or map...If you don't want to use a database, you could implement it using a map, as you suggested. I'm not sure what your concern with "extensibility" is, since you can keep adding key-value pairs as necessary. You can then iterate through the map to count the number of occupied (or available) spaces.

Similar Messages

  • [svn] 3143: Fix the AC_AddExtension function to not add the extension if

    Revision: 3143
    Author: [email protected]
    Date: 2008-09-08 11:21:14 -0700 (Mon, 08 Sep 2008)
    Log Message:
    Fix the AC_AddExtension function to not add the extension if
    it already exists on the path.
    Modified Paths:
    flex/sdk/branches/3.0.x/templates/html-templates/metadata/AC_OETags.js

    67Tommy Guns wrote:
    Adobe as a whole seems to have VERY low communications skills.
    Putting it generously, they're a unique beast with very Adobe ways of doing things. Same goes for Microsoft and others.
    Once you learn the lingo, they're a friendly enough bunch but the bureaucracy can prove labyrinthine and exasperating at times (even for Adobe staff, I gather).
    What I do know is that once you eventually find the correct forum, form, department or knowledgeable individual to speak to, they're usually really helpful.
    I do avoid contacting Adobe for Help at all costs though. That DOES need lots of work. The forums are far quicker and easier for me to deal with.

  • Is it possible that someone could redirect someones  email account, and screen the messages over the internet without their knowledge.

    Is it possible that someone could redirect someones  email account, and screen the messages without their knowledge.

    Call it phishing or not, any website designed to emulate another with the primary goal of obtaining one's personal information through deception is easily accomplished. You called it a façade, which is as good an description as any. It can be performed with most an hour of work, and uploaded to any server willing to host it. They have been known to be attached to legitimate websites, often educational institutions for which security is lax, and in which many people with too much time on their hands have sufficient privileges to modify the site at will.
    Constructing a more elaborate website that faithfully reproduces a secure webmail page populated with functional links would simply take more effort with probably more individuals working on it, but it is by no means beyond the realm of possibility.
    Perhaps the Apple Genius was describing something different, or not, but the point is that it is certainly possible for someone to screen or otherwise view your email messages. It's simple, given just a couple of pieces of your account information. The most common means of obtaining that information is through deception, a low-tech social exploit that has been with us for thousands of years.

  • When I try to publish a video in CS5 it adds the extension .new. Help please!

    When I try to publish a video in CS5 it adds the extension .new. Help please!

    Your video is encoded in a format that PS doesn't understand. It's as easy as that. AVIs are just containers that can contain a multitude of different CoDecs and settings. You will have to do some reading up on that matter and then use external programs like VirtualDub, MPEGStreamclip and otehrs to convert your file to something PS understands - if that realyl is what you need. Otehrwise simply move on to "real" video editing apps that can handle all that much better.
    Mylenium

  • When i save any image from any website then there is no option showing in the save as box like saves as .jpg etc. In this case I manually add the extension of image for example .jpg .gif etc. Please solve my problem :(

    When i save any image from any website then there is no option showing in the save as box like saves as .jpg etc. In this case I manually add the extension of image for example .jpg .gif etc. Please solve my problem :(

    I'm guessing your problem is caused by code validation errors: orphaned division tags for example, or mismatched code and document type (i.e.  XHTML /> mixed with HTML > style closures).
    Start by using the code validation tools below and fix any reported.  You'll need an Internet connection for this:
    HTML Validator - http://validator.w3.org 
    CSS Validator - http://jigsaw.w3.org/css-validator/  
    HTML & CSS Tutorials - http://w3schools.com/
    If this doesn't solve the problem, you will need to post a URL to your live page so we can see your code and images working together.   Or at the very least copy and paste your HTML and CSS code into a reply using double arrows >> Syntax Highlighting > Plain.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • HT1420 I got rid of my old Gateway desk top and bought a MAC. I'd like to deauthorize the Gateway and add the MAC without deauthorizing my other shared computers. How do I do this?

    I got rid of my old Gateway desk top and bought a Mac. I'd like to deauthorize the Gateway and add the Mac without deauthorizing my other computers.

    Individual computers can only be deauthorised directly on them, so if you no longer have the old desktop the only way to deauthorise it is to log into your account on your computer's iTunes and 'deauthorise all', and then authorise/reauthorise the computers that you still have and need.

  • When an app hast permission to access photos, can it transfer them to somewhere on the internet without user knowledge?

    Hello
    when I give an app the permission to access my photos, how is it secured that it doesn't transfer parts of them to somewhere on the Internet in the background without my knowledge?
    Thanks for an answer!
    Florian

    Sorry, but you cannot simply copy your Time Machine backup by drag and drop. You must clone it from the old drive to the new one:
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility in the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the new Time Machine backup drive. Source means the old Time Machine drive.

  • HT1977 i want to add a app i just purchased to my i phone. nut when i click apply it asks me if i want to remove the rest of my apps.. which i dont.. how can i add the app without deleting my other apps

    i want to add a app i just purchased to my i phone. nut when i click apply it asks me if i want to remove the rest of my apps.. which i dont.. how can i add the app without deleting my other apps

    You can sync an iPhone to only one computer. If you connect it to a different computer (or you have never connected it to a computer) it will delete all iTunes content on the phone and replace it with the iTunes content on the current computer. As Avis says, you can transfer your purchases to the computer you are about to sync to, but only if that computer is authorized to the same account that the content was downloaded under.

  • My iMac is less than one year old.  Without warning, the screen suddenly goes black.  It used to happen occasionally, but is now happening all the time without warning.  What is Apple doing to correct the problem?

    My iMac is less than one year old. Without warning, the screen suddenly goes black.  It used to happen ocasionally, but now it happens all the time.  Numerous people have posted about this issue. Why hasn't Apple solved the issue.  For what I paid my computer, I expected more from the product than I have gotten.  I was a PC person for years and most of my associates told me that I needed to get a mac...I am starting to regret having taken their advice.

    Sorry you're having this problem.
    A few years ago we had a similar issue on one of our machines, it was an early MacBook. Ended up being a cracked circuit connection on the motherboard. Changes in temperature caused the crack to expand and contract resulting in a shut-down followed by an automatic reboot. Sometimes over-and-over. I understood from AppleCare at the time that those symptoms could have also been any number of things including a intermittent issue with a powersupply.
    If you take it back to the Apple Store at some point, I would ask them to have it run some CPU intensive tasks that closely resemble what you are doing when the screen goes black. It took us several try's to find the problem. Calling AppleCare each time to discuss it and troubleshoot before making the trips to the Apple Store really moved things along. In fact, it wasn't until the Apple Store had cracked the case from the inside that things kicked into a higher gear and AppleCare phone support sent out a pre-paid FedX package to send it to a refurbishing facility. Never a problem since and I know the people who have the machine today.
    PS Can identify with the trip to the Apple Store, our closest one is in Knoxville, 2hrs from us.

  • My phone just just filmed me and sent the video without my knowledge and the video doenst show up in the convo or in my camera roll. What the **** is going on and are you guys big brothering me?

    ***

    ashfromtoronto, is this issue solved now or was that an accident?
    Sending video messages is built in to this application. Did you look at the link I posted? See if this standard feature behaves the same as when you think the 'hacking' happened.
    Also send another video as a test to see if appears in the history on the Macbook and in the messages history on the iPhone. There may just be bugs that cause odd behaviour, but there are built in features that do what you describe - it is possible to trigger them accidentally & assume that it was part of a 'hack'.
    If the device was hacked I doubt you would get any indications if someone was spying in this way - what kind of hacker can get this level of access to iOS but reveals themselves in the user interface or messages history?
    You may have been hacked, but at least try to rule out the reasonable explanations first.

  • Qosmio G30: How to add the RAID driver without a floppy drive?

    I am going to set win xp tomorrow, as far as i remember i will be promted to insert a floppy with additional RAID/SCSI drivers - i guess i need to supply some drivers for XP to see my RAID stripe.
    I was able to download 'raid-drv-qog20-xp-1380.zip' but i am afraid to look if my laptop has a floppy drive... How do i add the drivers without a floppy drive?

    Hi
    Maybe stupid comment but if you can buy Qosmio G30 I presume you can also obtain one used floppy. I have done this few times with Vista and Qosmio G30 and it works well.
    Check eBay. You will get used floppy drive for few euros. Otherway try to create CD and if the RAID drive is needed browse to ODD, I didnt try it because I have FDD but you can test it on your Qosmio.

  • How to add the google swiffy extension to Flash Pro CS6 or CC

    I have downloaded the google swiffy extention however after adding it to flash pro inthe extension manager it has a check box saying (enabled) but it doesnt show under window>extensions in the Flash pro app. Are there any guides on how to do this or somehting im missing? I've heard Flash CC could support html extensions so I installed Flash CS6 but that doesn't let me add the extension either. Any support with this is would be very nice.

    Thanks I see the export feature however I just have one last issue with it, when I try to export a simple swf that contains a simgle tween I get this error http://puu.sh/6DRYl.png. What can I do about that?
    Edit- this only happens with Flash Pro CC not the CS6 version.

  • How can I hide the extension in multiple pdf files?

    I make a lot of PDF files and would like to know if there is a way to hide the extensions without using the 'Finder - Preferences - Advanced'  tick box method. It is very time-consuming doing this for every file.

    Thanks for the speedy replies.
    The 'show extensions' box was not being ticked between uses.
    I make PDFs with several applications. I did not know that extensions could be hidden at source. Now I can do that with some applications, but not all, thanks to VikingOSX.
    The number of extensions to hide is now reduced and I will do this with one action, thanks to Linc Davis. (Why did I not think to try this key combination?)

  • HT2486 How do I add an extension to a phone number?

    Anyone know how to add an extension to a phone number in Address Book? And even better, how to create a pause when I call, so the extension is entered?

    From OSX daily:The easiest way is through your iPhone or add a semicolon ";" NOT a comma in Mac Address book .
    Though you’ve long been able to add automatically dialed extensions to contacts on the iPhone, the newest versions of iOS handle extensions much more intelligently, allowing you to create a “Dial Extension” button to any specific contact. That extension dialer can be activated manually, making the navigation of telephony menus infinitely easier, here’s how to quickly add this to a contact:
    Open Contacts and tap the contact name to add the extension to, then tap the “Edit” button
    Tap the phone number entry, place the cursor at the end, then tap the “+*#” button to access additional options
    Choose “wait” then enter the extension afterwards, it will add a semicolon and the extension afterwards to the address appearing like so: 1-888-555-5555;123
    Tap “Done” and exit out of contacts
    Now dial the contact to discover a “Dial 123″ button has appeared, tap that whenever you want to dial the extension
    The extensions can also be added from a Mac in Contacts (Address Book) by adding a semicolon to numbers followed by an extension, just be sure to sync it through the same iCloud account or it won’t go over to the iPhone.
    Anyone who frequently uses extensions to reach specific people at an office, or anyone who has battled an automated phone system knows how useful this can be. You can even set a string of numbers, though the Dial button remains the same.

  • How can I open a cfm file in Dreamweaver CC using a Mac? Added to the Extensions.txt. Getting error adding to preferences-- file types.

    I am trying to open Cold Fusion files using Dreamweaver CC. We've never had a problem with the versions before the Cloud. My co-worker can open using a PC, but I'm using a Mac. I can connect to the server and see the files, but when I open, it opens the file in text editor. I have tried adding the extensions to the Extensions.txt file (they weren't there previously), editing the MMDocumentTypes.xml file (the file type WAS in that file), adding to the Preferences-->File Types/Editors (I can add the extension, but when I try to choose Dreamweaver CC as the editor, I get an error "You cannot use Adobe Dreamweaver CC as an external editor. Please choose a different application."). When I right-click the file, I do not see an "Open With" option, only "Open".  Does anyone know of another trick that could make Dreamweaver CC more than an HTML editor for Mac?  I cannot us CF Builder - no approval for loading the extra files server-side to use that IDE.

    Have you tried these suggestions...
    Open ColdFusion documents in Dreamweaver CC

Maybe you are looking for

  • Routing outbound SMTP email for a domain to a GWIA

    Hi, I need to forward email as the original sender to an ISP for certain of our users to pickup with their BlackBerry's. I had originally configured our production GWIA's with: /flatwd and /realmailfrom which achieved the forwarding of email messages

  • OS 10.6.8 & Time Capsule

    I have an older MacBook Pro with Snow Leopard 10.6.8 & I am unable to update software.  I am unclear as to whether that OS can install/run/manage Time Capsule.  Any help would be appreciated.  Thank you!

  • EBS or Hyperion or OBIEE

    hi I am from other ERP, I am interested entry in Oracle world, please advice me which product is better from me ? 1) I am good in Finance, Trade and Logistic and HR ( ERP Modules) Implementation and customization 2) I am godd in Business intelligence

  • Lost my Iphone and it is offline

    Good day, I lost my Iphone in the hotel and the mode of 'find my Iphone' is offline, so I cannot locate it or even lock it ..... so any one can help how to locate my iphone in this issue ?? thanks

  • Can method declared in JSP have HTML tags?

              Hi all,           Can a method in JSP page have a HTML tags? (e.g. <td> or <tr>           etc)?           Can anybody just give a small example for the same?           Thanks,           Amar