Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

What is the root of your application?

By Andrew Pollack on 06/25/2008 at 10:43 PM EDT

I got stuck a bit today. It took me getting out of the programming tools and back to paper to get myself unstuck. By diving into code too soon, I'd painted myself into a corner without understanding the nature of the problem. It took more thought and less code to solve the riddle.

Now that I've got some really powerful tools to play with, I'm having to think about things I never did before. For example, where does an application's data begin? A user hits my XPage and that user is new. There's no profile. Do I pre-create one for them to act as a jumping off point? That seems to be the standard out there. The minute you arrive at any site where you'll be creating data, you're asked to sign up and sign in. They do that because they want to have something as a "ROOT" level on which to base all that data you generate.

I'm a big fan of putting the user profile outside the application in its own database, easily keyed on the userid --Store only global stuff there. Things that won't change from application to application. That gives you a system wide platform on which to build your various application specific data.

When you're stuck, give more thought to architecture, and less to the act of coding.


  • text bubble icon

    Security Review

    How secure is your Domino environment? A security review doesn't have to be expensive to be helpful. If you're interested in finding out more, Contact Me.
  • There are  - loading -  comments....



    Other Recent Stories...

    1. 09/04/2008If you could pick the topic you wanted from me at LS09, what would it be?Fall is here. Lotusphere 2009registration is open now, as is the call for abstracts. If you could pick my topic, what would you want me to cover? In the past, the Security Jumpstart I do with Gab has been very well attended with a repeat and both sessions really full, so we'll update that with all the new 8.5 stuff and submit that one for sure. Other than that, there's a ton of stuff I'm thinking about. Is there one you've seen me do that you think is worth repeating? Is there a new topic you think I ...... 
    2. 09/03/2008Trendspotting: What Google is really starting with ChromeAside from being a fairly cool -- if a bit undercooked -- new browser, Chome has another lesson for us. Google has very specifically NOT created an incremental bloatware version of existing code. They've built something new from nearly the ground up, embedding the proven technologies they needed -- javascript by V8, and rendering by Webkit. Only by starting from scratch were they able to get some of the size, memory management, and security enhancements that form the core of their promising new ...... 
    3. 09/03/2008Using the management of their campaigns to learn about the candidatesSome things about these two political campaigns have struck me recently as glimpses of what to expect from an administration led by either candidate. It isn't a perfect picture, but it is telling in a way. It also matches what I think about these two men so clearly my own viewpoint is mixed in richly in the interpretation. To be clear about that bias, I should state here that I am currently planning to vote for Obama, though will not vote an entirely Democratic party ticket. We have some very good ...... 
    4. 09/02/2008Chrome - Google's new Web Browser. Super tool, still needs a few things. 
    5. 08/30/2008Notes 8.5 Public Beta 2 - First impressions 
    6. 08/28/2008Have you used the Asus EEE PC? I've got a couple of unusual questions 
    7. 08/28/2008Blogging Respite - A long couple of weeks 
    8. 08/23/2008The disturbing case of the Fridge, and cabinets built by Dr. Seuess. * Updated with pictures 
    9. 08/17/2008From Caitlin: "Dad, are the Olympic medals solid gold?" The answer is interesting... 
    10. 08/12/2008The mis-use of Twitter as a chat room - and what to do about it 
    Click here for more articles.....


    pen icon Comment Entry
    Subject
    Your Name
    Homepage
    *Your Email
    * Your email address is required, but not displayed.
     
    Your thoughts....
     
    Remember Me  

    Please wait while your document is saved.