Books on how to plan your code?

Hello,
I'm currently starting to get into programing, and so far I have only made small apps. I have some experience in Javascript and PHP, and just finished the "Big Nerd Ranch Objective-C" book. There is one thing I have found myself lacking of, the skill to plan my applications.
Bascily, my question is, does anyone have a book that teaches you the basics of how to plan an application? Thinking with the focus on Objective-C, with for example UML for objects and so on. I am looking for a book that goes from when you get the idea, to the phase where you start coding.
All answers will be greatly appriciated

I probably shouldn't respond, seeing that I haven't launched any applications. But I did spend a considerable amount of time grappling with the same question and reached a satisfying conclusion.
The way xCode works to my mind is that there is such a gap between the available code and an application to allow for maximum control over the design process, while requiring significant tailoring and grouping for use in the application. The result is that it takes a significant amount of work to get from the available classes to your application classes or code.
There is, therefore, a space for the developer that is best filled with the design of a suite of applications, having the same 'parts' built by the developer according to their own designs and functional patterns. Should the need arise for more finely tuning particular parts for any one of the applications within the developer's suite, it can easily be done.
I am approaching the same problem at the current time, and starting first with the data model for a particular suite, then assigning the broadest possible kinds of applications that could use the data model. Then spending considerable time and research on designing the interface reusable parts for the entire suite. Then the reusable parts for the controllers. Each part will then be attached like legos for each application.
I plan on using configurations of the data model to help coordinate the installation of the proprietary 'parts'. It is those 'parts', rather than the application, that represents the primary capital.
It's no wonder that Lego is leading the world in the broad application of this principle. They use the same programmable 'parts' for games, cartoons, advertisements, packaging, and even manufacturing.
This is the natural course, seeing that it stems also from the nature of the 'objective C' which also stems from the nature of the transistor switch. But seeing one's self, or a team, and realizing that every individual or group has a place to formulate their own 'parts' for their own product designs...that requires the imagination, creativity, and courage.

Similar Messages

  • How to divide your code to many .java files?

    I'm having currently over 3000 lines of code and over 70 classes in one file. I would like to divide it so that i would have logical groups of classes. How can that be done. I see only two options here and both of them are bad. Either I do one .java file corresponding to each class, or I put all of them in same file. What can be done to solve my problem?

    It is common practice to put one class per file. However with such a large number of classes, such a flat structure could quickly become messy. I don't see any problem with grouping classes within files. You may need to read up on access specifiers (eg; public, private, default access etc) before you split them up, but if your classes are well encapsulated, I can't see any problems ahead.
    Another structure you might consider would be to package your classes appropriately. This is a bit tricky to describe, but it's kind of like a directory structure. each package is a self contained logical function of your program. I don't know how well this would suit your purposes.
    If you want to split a single file into lots of little ones, you might check out JCreator (www.jcreator.com) as I understand it has a wizard to do this automatically.
    HTH

  • How to plan my study

    with java tutorial online version,i was lead to here and there ,i am also buried with mass code, method, and class.i lost myself all. if any proven study plan avaiable for greenhand to, for instance, get java ceterfication. thanks!

    This is how to plan your study:
    (1) Fire up Visio (sorry to mention an M$ product)
    (2) Open the appropriate template
    (3) Place assorted desks, chairs, printers, fax machines etc. on the drawing
    (4) Move them about a bit until you're happy with the feng shui
    (5) Add some nice pot-plants, repeat step (4)
    (6) Realise you've blocked the fire exit with a cabinet, remove it, repeat step (4)
    (7) Print and submit to handy person for quote
    (8) Recover from dead-faint after recieving quote
    (9) Go back to using your old wobbly flat-pack desk

  • I am a high school teacher.  My district purchased the entire CC Suite.  Where can I find a tutorial in book form to learn how to use your products?  Do you all provide free book samples to teachers?

    I am a high school teacher.  My district purchased the entire CC Suite.  Where can I find a tutorial in book form to learn how to use your products?  Do you all provide free book samples to teachers?

    Good day!
    This is a user to user Forum, so you are not really addressing Adobe here, even though some Adobe employees thankfully have been dropping by. (edit: Actually they are more likely to frequent the regular Photoshop Forum.)
    Regards,
    Pfaffenbichler

  • You have created a link to another part of your book but how do you get the reader back to the original page?

    Using iBooks Author to make a book you have created a link to another part of your book but how do you get the reader back to the original page?

    Asking me to be verbore is a dangerous thing  :-)
    When you eneter information into iTunes Producer for uploading, the info must match what is in the internal metadata. In this case, the book is called Mississippi, but in  iTunes Producer it is spelled Misssissippi. There is an extra "s". This will cause an error.
    - Fabe

  • How do you plan your project?

    I'm thinking of recommending Captivate 3 to a client who does
    live training sessions for hospital workers, and has had no online
    options until now.
    I have a basic understanding of how the program works, but
    how do you begin brainstorming and planning your project? Once you
    determine the audience's needs and your goals, do you draw a
    schematic diagram on paper, actually develop the content and
    interactions within the program, or....?

    The view (and actions) taken by Phillip's firm are more and
    more the "standard" or "best practice" of professional Captivate
    developers. Small "bite sized" learning pieces make the act of
    checking a specific task quick and easy for the end-student-user.
    As an instructor, I put a lot of emphasis on storyboarding.
    Paper and pencil works best for me as the first step, but "Word" is
    then used as the next step in creating a script prior to starting
    to record in Captivate.
    In summary, creating short, precise Captivate projects
    from a storyboard and written script is the best way to
    build effective eLearning objects, as well as the most effective
    method for quick and easy (easier) editing for the developer
    (especially when changes are needed "post-production") - it is just
    best for everyone.

  • HT1977 How do you see how much money you have if you already but in your code

    How do you see how much money you have if you already but in your code for itunes card

    Go to app store in your phone and it will be at the bottom.

  • HT5071 Please Help! how do I fix this error: "The title of the Table of Contents in portrait view is placeholder text : Book Title. Please redeliver your corrected full book file with a custom preview file. "

    Urgent.
    I have been not approved of this error
    been back and forth with Apple
    The title of the Table of Contents in portrait view is placeholder text : Book Title. Please redeliver your corrected full book file with a custom preview file. The book will not go live in the store without a matching custom preview file."
    1st, how do you clarify the Table of Contents issue. No idea what I am doing wrong
    2nd what is a customr preview file?  I uploaded a sample book already.
    Please advise ASAP
    my email: [email protected]
    thanks

    I double check my table of content and I do not have a place holder... so I don't understand the error.

  • How often do you place remarks in your code?

    Maybe some of you may consider this a stupid question, but how many times do you place reamkrs in your code.
    I usually put a remark nearly in everyline I do in java (or some lines) to describe what is happening. However I am not sure whether doing to much reamrks is seen as a wrong thing!!
    what do you people think?

    Is that wrong?No, but It isn't the question that I'd ask. I'd
    rather ask some of the following ones:
    - does it help with understanding the code?
    - does it add anything that's not obvious from the
    code?
    - if something is not obvious from the code, why not?
    bad design? bad naming? or simply a complex
    algorithm?
    - how much overhead does it add to maintaining the
    code? (if I change any of those 4 lines, I'll
    probably have to change the comment as well, and
    chances are that I'll forget).But from time to time you forget what has been made isnide the code, or worse you have to read other people code. All that you say is true, but I believe that having remarks will help other developers reviewing the code after one is gone.

  • On average how long does your mac book battery last?

    Mine runs about 1.75 hours on average while doing my best to conserve the battery. I would like to get an idea from other mac book owners how long their battery lasts, so I know if something is wrong with mine.
    I know there are a number of factors that come in to play in terms of how long your battery will last. For instance, i know that if you have a lot of applications open, and if you have blue tooth device it will cause your computer to have to work harder and in essence will cause your battery to run out faster. It just seems like mine runs out real quick (1.75 hours). I have the check mark by "better energy savings" and close my applications as well.
    I will also say that I did not calibrate my battery when i first got it being that this is my first laptop and i didnt know. I calibrated it about a month after i got it. However, prior to the calibration i had it hooked up directly from a power source all but one usage. Being that it took so long for me to calibrate my battery, is it permanently damaged?

    A charge capacity of 4860, while being below average, is not a complete didaster and is not the cause of the 1.75 hour usage. Mosre than likely your failure to calibrate is the reason for it being below average. I does say to calibrate ASAP in the user manual that comes with your MacBook.
    Now, to help with your battery time the things that affect the batery time the most are…
    1) Processor performance. Make sure your Energy Saver setting are set for maximum battery savings.
    2) High processor usage. The more you use you procossor the lower your battery times. So, you will get better battery performance when checking/writing e-mail and web surfing that you would encoding video. I often use a tool like MenuMeters…
    http://www.versiontracker.com/dyn/moreinfo/macosx/17713
    … to keep an eye on my processor usage.
    3) Screen brightness. This is a huge battery user and you should set this as low as is comfortable. High battery times require the screen to be set to minimum values. One spot (minimum) is the norm.
    4) Wireless networking. As this is always on it does chew up more battery that you would think. Turn it off when you don't need it. I actualy created a "no networking" profile in my Network System Preference for when I want to maximise battery performance and have no need of internet/networking.
    5) Bluetooth. This also consumes quite a bit of power for something that is not used much. Turn it off as much as you can when on battery.

  • How you restore your security pass code if you have disabled your iPod, due to too many pass code attempts

    How you restore your security pass code if you have disabled your iPod, due to too many pass code attempts?

    If You Are Locked Out Or Have Forgotten Your Passcode
    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS- Understanding passcodes
         If you have forgotten your Restrictions code, then follow the instructions
         below but DO NOT restore any previous backup. If you do then you will
         simply be restoring the old Restrictions code you have forgotten. This
         same warning applies if you need to restore a clean system.
    A Complete Guide to Restore or Recover Your iDevice (if You Forget Your Passcode)
    If you need to restore your device or ff you cannot remember the passcode, then you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and re-sync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
         1. Verify that you are using the latest version of iTunes before attempting to update.
         2. Connect your device to your computer.
         3. Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
         4. Select the Summary tab.
         5. Select the Restore option.
         6. When prompted to back up your settings before restoring, select the Back Up
             option (see in the image below). If you have just backed up the device, it is not
             necessary to create another.
         7. Select the Restore option when iTunes prompts you (as long as you've backed up,
             you should not have to worry about restoring your iOS device).
         8. When the restore process has completed, the device restarts and displays the Apple
             logo while starting up:
               After a restore, the iOS device displays the "Connect to iTunes" screen. For updating
              to iOS 5 or later, follow the steps in the iOS Setup Assistant. For earlier versions of
              iOS, keep your device connected until the "Connect to iTunes" screen goes away or
              you see "iPhone is activated."
         9. The final step is to restore your device from a previous backup.
    If you can not restore your device then you will need to go to recovery mode.
    Placing your device into recovery mode:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
         1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the other end
             of the cable connected to your computer's USB port.
         2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the
             red slider appears, then slide the slider. Wait for the device to turn off.
              If you cannot turn off the device using the slider, press and hold the Sleep/Wake
              and Home buttons at the same time. When the device turns off, release the Sleep/Wake
              and Home buttons.
         3. While pressing and holding the Home button, reconnect the USB cable to the device.
             The device should turn on. Note: If you see the screen pictured below, let the device
             charge for at least ten minutes to ensure that the battery has some charge, and then
             start with step 2 again.
         4. Continue holding the Home button until you see the "Connect to iTunes" screen.
             When this screen appears you can release the Home button.
         5. If necessary, open iTunes. You should see the following "recovery mode" alert:
         6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Additional Information:
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • How do I enter codes purchased through the Volume purchase plan into Configurator?, How do I enter codes purchased through the Volume purchase plan into Configurator?, How do I enter codes purchased through the Volume purchase plan into Configurator?

    How do I enter codes purchased through the Volume Purchas site into Configurator so I may load them onto ipads on a cart?

    There is no short answer.
    I've created a 10 page tip sheet. See the link a the bottom
    I have to guess how many steps you've done, so this advice may be starting in the wrong spot. 
    =============================
    a) I assume you used appleid of the faciltator who buys VPP apps on the VPP portal and then downloads the XLS file of codes (done)
    b) I assume you have an appleid of another user. That appleid must be setup in itunes on the laptop/desktop with Osx10.8.  You then launch itunes and use itunes redeem link to get one copy of the paid app.  The code for that redeem link comes from your your spreadsheet from step A. Copy and paste from excel or use googlge docs to copy/paste the code.
    ==========================
    itunes now has downloaded on copy of the paid app (stored in your documents folder, deep in your itunes folder of  your laptop/desktop)  Open configurator and hit the plus icon in configurator and that app is added to your list of apps with the licence count set to 1.
    Now comes one more not so obvious step, LOgon to the VPP portal and download the XLS file again with all the codes.  
    In configurator click the mouse on the number 1 in your count of licenses.   That will bring up a set of dialogs to import the 2nd version of your XLS codes.  When that is done your count goes from 1 to x, where x might be 50 codes.  
    All of what I've posted here is documented by apple in several KB articles and their 80 page guide, or you can just read my 10 page tip sheet below...
    https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?userstoinvite=[email protected]

  • How to identify your current mac book pro version

    hi,i just want to ask on how to identify your macbook pro if it's the 2008's version or the 2012's version?

    To identify the MacBook Pro model you are using, see > http://support.apple.com/kb/ht4132

  • How to write a code for  open new txt file in swing

    hai all,
    now i do one project in java.that project's GUI is Swing. But i don't known swing (basic).So how to write a code for open new txt file and "Open window " in menu item on swing.that means when i click the "New" on menu that time open a new txt file. open also like that type.
    plz give me that code ! very urgent
    Advance Thanks !
    RSK

    Swing Tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    Since you don't know the basic of swing read the tutorial, it is for your own good because it is useless if we provide you with a code you don't even understand and how it works.
    If you want a menu read the tutorial about using menus and for opening a file read using JFileChooser.
    note: don't use the word urgent because it implies that your problem is more important than others.

  • HOW TO PUBLISH YOUR WEBSITE ..FROM IWEB ..WHEN I USE TO USE MOBILE ME .. BUT NOW THERE IS NO MOBILE ME BECAUSE OF ICLOUD, AND ICLOUD DOESN'T SUPPORT IWEB PUBLISHING?

    HOW TO PUBLISH YOUR WEBSITE ..FROM IWEB ..WHEN I USE TO USE MOBILE ME .. BUT NOW THERE IS NO MOBILE ME BECAUSE OF ICLOUD, AND ICLOUD DOESN'T SUPPORT IWEB PUBLISHING?

    When MobileMe goes down the drain, you will need to move your website to standard hosting. Depending on your site size, I recommend A Small Orange, as the Tiny hosting plan they have is big enough for most iWeb sites and much cheaper then shelling out $6 a month for most of the other big names, and if you check out their forum, several of the members have coupon codes in thier signatures. Also, their customer service is great and very fast in getting back to you.
    To upload, I publish the iWeb site to a folder, then using Cyberduck upload it to the host. Cyberduck beats iWeb's FTP uploader because Cyberduck only replaces updated pages, instead of uploading the entire site.
    I hope this helps!

Maybe you are looking for

  • Won't grab correct album art, even though album is on iTunes store

    Most of my albums get the correct art just fine, but a few give me trouble: 1. Nine Inch Nails - Year Zero: The album is on iTunes, but it won't grab the art at all. 2. The Clash - London Calling: It grabs a cover of London Calling, but a different v

  • Help Please. Lost my music Ext Hard Drive.Using my Back Up on a new Hard Drive. Itunes cant fins songs

    HI there, i need some help please ..... I had a hard drive failure, external one, the i use to have all my music collection ( 550 gigas of music ) I got a new external HD and put there all the music the i had it back it up, .... same folders name, sa

  • Subcontracting material

    HI MM GURUS, HERE i AM FACING A PROBLEM MATERIAL IS SENT TO SUPPLIER WITH MOVEMENT TYPE 541 AND BY MISTAKE OF GR MAKER , DURING MIGO HE DID ONLY GR WITH MOVEMENT TYPE 101, NOT 543. DUE TO THIS  STOCK AT SUPPLIER IS NOT CONSUMED, WHAT IS THE WAY TO TA

  • Is GA the only HTML for analytics in Muse?

    I am confused: Is there a Muse or BC HTML for site analytics, or is GA from the Google Analytics site the only one? It seems as though I read that Muse would publish an HTML <head> but I can't find such a thing. When GA is used in the <head>, is the

  • List of photos without caption beneath them

    I can get lots of lists from the Organizer like items not tagged.  How do I get a list of photos with no captions displayed beneath them? Thanks in advance