Jump to content
Larry Ullman's Book Forums

ionezation

Members
  • Posts

    44
  • Joined

  • Last visited

Posts posted by ionezation

  1. Hi everyone ... Hope you are all fine !

     

     One question for many days are hovering in my mind that what is the real difference between Software Engineer and Developer.

     

    Which one i choose and for what reason.

     

    Please recommand me any book on software engineering.

  2. These scripts are not working .. I`ve crossed check them from Source code also. Please check.

     

    Utilities.js

    var U = {
    $: function(id){
    'use strict';
    if(typeof id == 'string'){
    return document.getElementById(id);
    } // inner IF
    }, // $() function
    
    
    
    
    setText: function (id,message){
    'use strict';
    if((typeof id == 'string') && 
    (typeof message == 'string')){
    var output = this.$(id);
    if (!output)return false;
    if(output.textContent !== undefined){
    output.textContent = message;
    }// second inner IF
    else { output.innerText = message;}
    return true;
    }// inner IF
    
    
    },// SetText Function
    
    
    
    
    
    
    addEvent : function(obj,type,fn){
    'use strict';
    if(obj && obj.addEventListener){
    obj.addEventListener(type,fn,false);
    }//inner IF
    else if (obj && obj.attachEvent){
    obj.attachEvent('on' + type, fn);
    }// Else IF
    },// addEvent Property
    
    
    
    
    
    
    
    
    removeEvent : function(obj,type,fn){
    'use strict';
    if(obj && obj.removeEventListener){
    obj.removeEventListener(type,fn,false);
    }// inner IF
    else if(obj && obj.detachEvent){
    obj.detachEvent('on' + type, fn);
    }// Else IF
    }// RemoveEvent
    
    
    };

    Epoch.js

     

    function updateDuration(){
    
    
    'use strict';
    
    
    var now = new Date();
    var message = 'It has been ' + now.getDate();
    message += ' seconds since epoch.(Mouseover to Update)';
    
    
    U.setText('output', message);
    
    
    }// Update Duration Function Ends Here
    
    
    window.onload = function(){
    
    
    'use strict';
    U.addEvent(U.$('output'), 'mouseover', updateDuration);
    
    
    updateDuration();
    
    
    }; // Onload Function
    

     Epoch.html

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Mouse Events - Javascript</title>
    </head>
    
    
    <body>
    
    
    <div id="output"></div>
    
    
    <script src="utility.js"></script>
    <script src="epoch.js"></script>
    </body>
    </html>
    

     

  3. There are few mistakes in the book that is corrected in Errata Source Code.

     

        addEvent() function.addEvent: function(obj, type, fn) {
            'use strict';
            if (obj && obj.addEventListener) { // W3C
                obj.addEventListener(type, fn, false);
            } else if (obj && obj.attachEvent) { // Older IE
                obj.attachEvent('on' + type, fn);
            }
        }, //  In the Source Code
     
    addEvent : function(obj,type,fn){
    'use strict';
    if(obj && obj.addEventListener){
    obj.addEventListener(type,fn,false);
    }//inner IF
    else if (obj && obj.attachEvent){
    obj.attachEvent('on' + type, fn);
    }// Else IF
    },//  Object Property function written in the book  :mellow:
     
     
     
     
  4. Please give a little light on these things  :

     

    • output.textContent;
    •  
    • output.innerText;
    •  
    • return true [on page 276 in U Object in its property function of SetText() just before two closing braces]
    • if(obj && obj.detachEvent){
      obj.detachEvent('on' + type, fn);    - why we are using [ 'on' + type ] here ??

     

    Thanks in Advance.

  5. Does it run alongside with windows 8?

    If i add another harddisk so its ok to do that ? because i think it needs alot of space comsumed by Linux. My developer friend told me Fedora its best for beginners.

     

    What would happen if there are two harddisk and with two operating systems. Does it show Dual Operating system options?

  6. Christopher,

     

    I also have Professional JavaScript for Web Developers in my bad. Its 900 pages book and it is absoutely awesum Soon i am starting to teach in my local coaching center as a web designer teacher. Please pray for me  .

     

    Necuima and Hartley,

     

    I am agreed too, web design/development both are vast fields, in my opinion one has to be stuck with one thing for few months then move to other, Its really helpful. My aim is to acquire MCSD certification but you know for it a huge travel to make.

     

    Aristotle said :

     

    Knowledge is a vast ocean, when we just wet our feet, Death comes and take us away  :wacko: 

  7. Necuima ... Wow you have 40 years of I.T experience, That`s amazing. May you should write a book in which you pool your experience for people like us. Can we become friends ? You know larry`s book are very indepth and they take the niche points that merely covered by any other author. One think i like in his book is that he gradually moves to advance level, that`s really interesting for. 

     

    Christopher .. Thanks for all you said and i am agreed that Missing Manual is a great series i have Javascript / Jquery the missing manual. But you know it doesnt cover the key points like sometimes i have to post the script on different forums to find out the meaning of certain line of code. Well, i give it 8/10 points.

  8. Thank you larry and hartleySen. I am agree with both of you. It is true that you excel in field which you love the most. I am learning Html5/css3 and javascript from different books. Do recommend me books on Html5/Css3 please

     

    Steve Jobs also said that money will come from the field you love the most. 

     

    So nice of you !

    Thank you very much

  9. I am stuck in middle of many things. I have graphics design skills. I would like to be a web designer and developer.Plus, my father wants me to start a trading company. I am doing BS/I.T. I have some job offers for graphics and web designer. I would like to attain MCSD certification also.

     

    Where i go I am very confused and crossed.

     

    Thanks and Regards,

    Anu

×
×
  • Create New...