GIGJ.COM
welcome to my space
X
Search:  
Welcome to:gigj.com
NAVIGATION - HOME

Best Practices Questions for a Newbie

Published by: admin 2010-03-18

  • I am a fairly new to ExtJS. I have been figuring it out and really like it. Being a long time PHP, ASP and XML person it is a whole new way of thinking and opens up so many possibilities. But I have some best practice type of questions.

    We have antoher application where I work that was written in ExtJS and I ahve used some examples from it to get me started.

    With ExtJS you can create an object then either in the items add the items or do an objectname.add() to perform the same function. What is the best practice way of doing this?
    Re: Several questions from a newbie::
    File Format: PDF/Adobe Acrobat - Viewsee them in real time. GOTOs apparently do have some real usefulness. Re: Several questions from a newbie. Re: Several questions from a newbie
    http://sci.tech-archive.net/pdf/Archive/sci.astro.amateur/2008-12/msg00165.pdf
    HOME
    ChiLiving Bulletin Board • View topic - Questions from running newbie.::
    Questions from running newbie. Post by JoeyD » Thu Jul 28, 2005 1:51 pm I figure it's best to "learn correctly the first time" than to just go out and train with . Practice the lean exercise in page 74 -75 of the ChiRunning book.
    http://www.chiwalking.com/bulletinboard/viewtopic.php?f=2&t=318&start=0
    HOME

    The local app we have here does it both ways which seems to make it hard to read. Is one way better than the other?

    Next question... I am all for the idea of building modules. I have always done this with PHP so that for easy readability each section or feature was in a different module and then in PHP was include'd in the main source.

    I see in examples that this is done with ExtJS by adding script source statements. Is there an advantage to doing with the script source over just putting in a php include to include the source?

    Last one for now... I have been editing this in dreamweaver, is there a better editor to edit in? maybe one that keeps track of what brackets are open so they can be matched?

    Thanks all!


  • 1) In general, use items. It doesn't make much difference, but it's generally easier to have it all in the one spot.

    2) Yes, this allows the browser to cache the script. It also lets you organise your files logically, similar to how you would with your PHP files.

    3) Whatever floats your boat, there are heaps out there. Aptana is good.


  • regarding free editor for editing js; notepad++ (free on sourceforge) seems to work nicely for writing javascript. try it out, its small and you can uninstall it (yes, really!) if you don't like it...

    I use it to poke inside any textfiles, since it loads fast and has syntaxhighlight and helpers


  • With ExtJS you can create an object then either in the items add the items or do an objectname.add() to perform the same function. What is the best practice way of doing this?

    The local app we have here does it both ways which seems to make it hard to read. Is one way better than the other?

    Depends on the nature of your app. One is used if you know what the items are before the widget is created. The other you use if you don't know all of the items yet. Maybe you're adding items via ajax or based on some user interaction, etc.


    Next question... I am all for the idea of building modules. I have always done this with PHP so that for easy readability each section or feature was in a different module and then in PHP was include'd in the main source.

    I see in examples that this is done with ExtJS by adding script source statements. Is there an advantage to doing with the script source over just putting in a php include to include the source?

    Can you cite a specific example, I'm not sure what you're referring to.


    Last one for now... I have been editing this in dreamweaver, is there a better editor to edit in? maybe one that keeps track of what brackets are open so they can be matched?

    There are a few threads on this, including something in the blogs. Suggest you look to those threads which have more detailed info than you'll get again here.





  • Nortel Unveils Vision, Strategy for Israeli High-Performance Net
    Busy Friday Leads to Strong Close for Net Stocks

    You are looking at:gigj.com's Best Practices Questions for a Newbie, click gigj.com to home
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Best Practices Questions for a Newbie , Please add it free.
  • sales and marketing jobs in the uk
  • sales jobs in the telecommunication industry
  • it security jobs in the financial sector
  • refining the graduate job search
  • open jobs as a logistics manager in the uk
  • java jobs throughout the united kingdom
  • selling a piece of yourself as a product marketing manager
  • open sap jobs in the telecommunications sector
  • jobs available through it job agencies in the uk
  • sales and marketing specialists in the publishing field
  • locating renewable energy jobs that fit your skills
  • chief compliance officer a career overview
  • searching wisely for graduate jobs
  • open mechanic jobs in the uk

  • programmer jobs and the financial services sector
  • methods of assessment in technical recruitment
  • sales recruitment in the supply chain profession
  • maximising your skills through graduate research jobs
  • going above and beyond in graduate sales training
  • the right steps to increase responsibilities in manufacturing jobs
  • succeeding as an automotive marketing director
  • pursuing construction jobs from the contractor’s perspective
  • rising through the ranks in medical sales jobs
  • riding the building tide for environmental jobs in the united kingdom
  • rising through the ranks as a company secretary
  • rising through the ranks in graduate retail jobs
  • focusing your attention on active venues for graduate sales recruitment
  • learning the tools of the trade as a graduate trainee
  • About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008gigj.com All Rights Reserved