Ajax Tutorial- Loads of Information Available Online

11/16/2009

It’s often a difficult scenario on the part of an I.T aspirant to get into a thorough analysis of the particular subject matter but since the advent of internet as a valuable source of information, there have been the emergence of tutorials that are available online related to Ajax. The first and foremost tutorial defines Ajax that stands for Asynchronous JavaScript and XML. It is the use of the nonstandard XMLHttpRequest object to communicate with server-side scripts. It can send as well as receive information in a variety of formats, including XML, HTML, and even text files. The tutorial provides with Ajax’s most appealing characteristic, of having an “asynchronous” nature, which means it can do all of this without having to refresh the page.

The Ajax tutorial gives an introduction to ECMAScript for XML (E4X), a simple extension to JavaScript, XML scripting very easy. The tutorial has information on how asynchronous requests with JavaScript and Ajax, information about making Ajax - Try / Catch blocks of code, sending requests with XMLHttpRequest to allow user to make requests and receive replies by AJAX a Web site, form validation with AJAX / PHP / MySQL, and Ajax callbacks, where user sets the onreadystatechange property of the XMLHttpRequest object to the name of the function to be executed. Then, if the server processes the request, it will automatically call this function to build Ajax-enabled applications using Dojo and JSON to two very different but complementary technologies that will significantly enhance the user interface and usability of Web applications and More Related Tutorials.

There are mini-tutorials on the black art of iframes and browser history, known to AJAX experts but rarely presented clearly, mini-tutorial on saving state across page loads on the client side, without using cookies so as to save large amounts of data beyond cookies size limits, valuable and effective resource on Easy Ajax with jQuery, Top Ajax Poller Scripts, fast introduction to the basics of Ajax for people that already know how to write the server-side part of the process using servlets and JSP, AJAX username availability checking that allows a user who is registering for your site to see if the username they want to use is taken already or not, without having to submit a form and reload the page, RadAjaxPanel that exposes a rich set of client-side events which allow for easy and flexible use in a wide range of application scenarios and tutorial that explains on how to work with the XML Response or "The X-Files" and more in line in order to enhance and learn new aspects in Ajax. Online education therefore is the most reliable and active source for gaining knowledge for I.T. aspirants through, Asp, Java and Ajax tutorial and the internet is a vast knowledge based environment making things a little more easy with downloadable and accessible information relevant to AJAX.

Posted in: javascript tutorial| Tags: Online XML ajax Javascript Information Function user tutorial loads xmlhttprequest

Breaking into SAP

11/16/2009

Other training for SAP in SAP requires both users and IT professionals. To keep IT-related knowledge has a fundamental function in some domain is that. SAP Training SAP actively career opportunities to the domain of your function and experience of IT is to move.

Ten very important things you must consider when you are thinking about SAP Training.

  • SAP Training focuses on both the theory and practice, SAP Training–the acquisition of skills and knowledge. It is therefore an activity that seeks to fill skills and knowledge gaps. If you are a SAP professional your need might be for SAP certification. Before embarking on training you must know what your training needs are. What gap needs to be filled? Is the training need for an organization or an individual? What is your desired career path and specialization? What do you need to know? Are you sure training will close the gap? Set your training objectives carefully. The purpose of your training should be well defined.
  • To acquire configuration & practical SAP skills, the best training approach is that which uses the “See it, Hear it, Do it.” i.e. interactive and participative. Listen to concepts and ideas and practice them yourself. Training must combine the right blend of theoretical and practical sessions.
  • The quality of SAP training varies widely to choose training provider based on substance. They should be assessed with respect to quality of materials, competence of trainers, degree of instructor support, training skills of trainers, counseling facilities, track record, quality of facilities and other quality related issues and should be able to gain from the real world experience of the trainers.
  • The focus of SAP training should be on effective learning by participants. The gap has to be filled, Training outcome is Key. The trainee has to check the skills and knowledge acquired relevant and adequate. The value of training he has received. The outcome should be much that the trainee must not only learn, but he must also be able to apply the learning.
  • The primary focus of SAP training should be the acquisition of configuration skills and knowledge; Certification is secondary. Training is not only about immersing in knowledge, it’s also about creating opportunities for the better career.
  • If you want to build a career in SAP and you should have a respective educational and functional knowledge. You need to acquire these skills and knowledge to advance your SAP career. Cramming for tests and reading text materials alone are not enough to establish your IT career.
  • Cost is a major issue in SAP Training, but price should not be your sole determinant for choosing SAP Training or a Training institution. Always do a proper cost benefit analysis before deciding. How do you value the investments, should compare with the training needs. Think not only of your immediate costs but also for present and future opportunities.
  • All the best instructors, world-class facilities cannot learn for you. You must be prepared to make the effort to learn SAP. Learning involves more than routine attendance of lectures. Your primary role is to learn with a good training setup, there is no mystery to learning. Have to be very committed towards the SAP Training. This often arises due to poor planning and or insufficient motivation. Each day after training, you should go over concepts you’ve been taught and practice on your own. Else your learning reserved for the classroom only.
  • You need to consider some important factors when choosing the right learning solution. Each of these important pieces should be used in determining the right training model for you. Instructor-led Online SAP Training seems to achieve more beneficial for students than other training options, most particularly when there is a focus on in-depth hands-on exercises. Instructor-led Online Training is regarded as the most effective means of acquiring SAP skills and knowledge. You must however be prepared to learn at the pace of your training institution.
  • The training focuses on the acquisition of SAP skills and knowledge. However, if you want to build a career in SAP, there are more issues where you need to work more on technical skills and getting acquitted with SAP knowledge. Need to have soft skills (presentation, communications, marketing, project management, etc) to enhance your value. Your tech skills and training decisions are important, but marketing yourself is also very important.
  • In addition, the attitude is very important to the real world. Attitude will determine your height. Such as specialized problem is important. As a SAP professional development needs of the professional skills and know how to put your career training programs, exactly.

    Go through this table to find a suitable module based on how your skills ....

SAP Course Experience/Education Professions Suitable SAP FICO Who has Graduation and Masters in Financial Accounting or masters in Business Administration (MBA) Who has work experience of minimum 3 years as a Financial Executive in any Financial Sector or any Industry related to finance Who has work experience as Finance and Accounting and worked as end user in SAP CPA,
Chartered Accountants
Accountants
Financial Analyst
Finance Managers
Financial Controller
Cost Accountants
SAP HR Who has Masters in Human Resources Management Who has work experience in Human Resources Management as an Junior or Senior Level Who has work experience in Recruitment, Payroll and Administration HR Manager
HR Executive
Recruiter
SAP MM Who has Mechanical Engineering and worked into Logistics
Who is working experience in the manufacturing industry, mrp controller
Mechanical Engineer
Electronics Engineer
Purodakushonsupabaiza / Manager / Director Plant Manager
Operations Manager
SAP ABAP Who has Bachelors or Masters in IT This is module is advisable for any programmers (.Net, Java, Oracle PL/SQL etc) or any programming language. PL/SQL Programmer
Java Programmer
.Net Programmer
SAP XI This is very good for the people who are integrated with Java and web services This module is advisable for who are already into SAP Technical Consultants Java Programmer
ABAP Consultants
EP Consultants
SAP PP & PM Who has Mechanical Engineering and having work experience in Production & Planning Plant Maintenance Manager
MRO Manager
SAP BI SAP BI is Techno Functional Module, who have experience in integration tools like Data warehousing or any technology. Data Warehouse Consultants
ABAP Consultants
SAP BASIS Who have work experience in Networking and System Installations This module is generally advisable for Database Administrators, Database Programmers, Network Administrators Network Administrators
DBA Administrators
SAP Security This module is advisable for Network Administrator or SAP Basis Consultants Who has experience in any Information Technology can comfortably learn Security. Java Consultants
Basis Consultants
SAP APO New dimensional tool, which is advisable for all SAP Technical and Functional Consultants. Planners
Supply Chain Director / Manager
SAP SRM SRM is advisable for SAP MM Consultants to enter into the next level opportunities SAP Logistics Consultants(SD/MM)
Logistics Manager
Operations Manager
Plant Manager
Production Supervisor / Manager / Administration
SAP SCM SCM is advisable for SAP SD & MM Consultants for the better prospects. SAP Logistics Consultants(SD/MM)
Logistics Manager
Operations Manager
Plant Manager
Production Supervisor / Manager / Administration
SAP SEM SEM is advisable for SAP FICO Consultants FICO Consultants
SAP WM SAP Warehouse Management is advisable for all SD & MM consultants. SD Consultants
MM Consultants
Plant Managers
SAP IS-Retail This module is advisable for SD consultants SD Consultants
MM Consultants
SAP PS SAP Project Systems is advisable to all SAP Consultants who want to maintain the SAP Project Management FICO Consultants
Project Managers
Workflow Workflow advisable for the ABAP Consultants ABAP Consultants
Webdynpro Webdynpro is advisable for the ABAP and XI Consultants ABAP Consultants
JAVA Consultants
Posted in: java training| Tags: Career Training Quality Function experience sap knowledge domain gap it-related

Using Tab Expansion

07/25/2009

Command-line shells often provide a way to complete the names of long files or commands automatically, speeding up command entry and providing hints. Windows PowerShell allows you to fill in file names and cmdlet names by pressing the Tab key.

Note:

Tab expansion is controlled by the internal function TabExpansion. Since this function can be modified or overridden, this discussion is a guide to the behavior of the default Windows PowerShell configuration.

To fill in a filename or path from the available choices automatically, type part of the name and press the Tab key. Windows PowerShell will automatically expand the name to the first match that it finds. Pressing the Tab key repeatedly will cycle through all of the available choices.

The tab expansion of cmdlet names is slightly different. To use tab expansion on a cmdlet name, type the entire first part of the name (the verb) and the hyphen that follows it. You can fill in more of the name for a partial match. For example, if you type get-co and then press the Tab key, Windows PowerShell will automatically expand this to the Get-Command cmdlet (notice that it also changes the case of letters to their standard form). If you press Tab key again, Windows PowerShell replaces this with the only other matching cmdlet name, Get-Content.

You can use tab expansion repeatedly on the same line. For example, you can use tab expansion on the name of the Get-Content cmdlet by entering:

PS> Get-Con<Tab>

When you press the Tab key, the command expands to:

PS> Get-Content

You can then partially specify the path to the Active Setup log file and use tab expansion again:

PS> Get-Content c:\windows\acts<Tab>

When you press the Tab key, the command expands to:

PS> Get-Content C:\windows\actsetup.log

Note:

One limitation of the tab expansion process is that tabs are always interpreted as attempts to complete a word. If you copy and paste command examples into a Windows PowerShell console, make sure that the sample does not contain tabs; if it does, the results will be unpredictable and will almost certainly not be what you intended.

Posted in: Software| Tags: PowerShell Expansion Control Internal Function TabExpansion Configuration Sligntly actsetup Intend

Top 10 JavaScript Best Practices for newer

06/19/2009
1. Use === Instead of ==

JavaScript utilizes two different kinds of equality operators: === | !== and == | != It is considered best practice to always use the former set when comparing.

"If two operands are of the same type and value, then === produces true and !== produces false." - JavaScript: The Good Parts

However, when working with == and !=, you'll run into issues when working with different types. In these cases, they'll try to coerce the values, unsuccessfully.

2. Eval = Bad

For those unfamiliar, the "eval" function gives us access to JavaScript's compiler. Essentially, we can execute a string's result by passing it as a parameter of "eval".

Not only will this decrease your script's performance substantially, but it also poses a huge security risk because it grants far too much power to the passed in text. Avoid it!

3. Don't Use Short-Hand

Technically, you can get away with omitting most curly braces and semi-colons. Most browsers will correctly interpret the following:

view plaincopy to clipboardprint?

  1. if(someVariableExists) 
  2.    x = false
if(someVariableExists)
x = false

However, consider this:

view plaincopy to clipboardprint?

  1. if(someVariableExists) 
  2.    x = false
  3.    anotherFunctionCall(); 
if(someVariableExists)
x = false
anotherFunctionCall();

One might think that the code above would be equivalent to:

view plaincopy to clipboardprint?

  1. if(someVariableExists) { 
  2.    x = false; 
  3.    anotherFunctionCall(); 
if(someVariableExists) {
x = false;
anotherFunctionCall();
}

Unfortunately, he'd be wrong. In reality, it means:

view plaincopy to clipboardprint?

  1. if(someVariableExists) { 
  2.    x = false; 
  3. anotherFunctionCall(); 
if(someVariableExists) {
x = false;
}
anotherFunctionCall();

As you'll notice, the indentation mimics the functionality of the curly brace. Needless to say, this is a terrible practice that should be avoided at all costs. The only time that curly braces should be omitted is with one-liners, and even this is a highly debated topic.

view plaincopy to clipboardprint?

  1. if(2 + 2 === 4) return 'nicely done'; 
if(2 + 2 === 4) return 'nicely done';
Always Consider the Future

What if, at a later date, you need to add more commands to this if statement. In order to do so, you would need to rewrite this block of code. Bottom line - tread with caution when omitting.

4. Utilize JS Lint

JSLint is a debugger written by Douglas Crockford. Simply paste in your script, and it'll quickly scan for any noticeable issues and errors in your code.

"JSLint takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem and an approximate location within the source. The problem is not necessarily a syntax error, although it often is. JSLint looks at some style conventions as well as structural problems. It does not prove that your program is correct. It just provides another set of eyes to help spot problems."
- JSLint Documentation

Before signing off on a script, run it through JSLint just to be sure that you haven't made any mindless mistakes.

5. Place Scripts at the Bottom of Your Page

This tip has already been recommended in the previous article in this series. As it's highly appropriate though, I'll paste in the information.

Place JS at bottom

Remember -- the primary goal is to make the page load as quickly as possible for the user. When loading a script, the browser can't continue on until the entire file has been loaded. Thus, the user will have to wait longer before noticing any progress.

If you have JS files whose only purpose is to add functionality -- for example, after a button is clicked -- go ahead and place those files at the bottom, just before the closing body tag. This is absolutely a best practice.

Better

view plaincopy to clipboardprint?

  1. <p>And now you know my favorite kinds of corn. </p>
  2. <script type="text/javascript" src="path/to/file.js"></script>
  3. <script type="text/javascript" src="path/to/anotherFile.js"></script>
  4. </body>
  5. </html>
<p>And now you know my favorite kinds of corn. </p>
<script type="text/javascript" src="path/to/file.js"></script>
<script type="text/javascript" src="path/to/anotherFile.js"></script>
</body>
</html>
6. Declare Variables Outside of the For Statement

When executing lengthy "for" statements, don't make the engine work any harder than it must. For example:

Bad

view plaincopy to clipboardprint?

  1. for(var i = 0; i < someArray.length; i++) { 
  2. var container = document.getElementById('container'); 
  3.    container.innerHtml += 'my number: ' + i; 
  4.    console.log(i); 
for(var i = 0; i < someArray.length; i++) {
var container = document.getElementById('container');
container.innerHtml += 'my number: ' + i;
console.log(i);
}

Notice how we must determine the length of the array for each iteration, and how we traverse the dom to find the "container" element each time -- highly inefficient!

Better

view plaincopy to clipboardprint?

  1. var container = document.getElementById('container'); 
  2. for(var i = 0, len = someArray.length; i < len;  i++) { 
  3.    container.innerHtml += 'my number: ' + i; 
  4.    console.log(i); 
var container = document.getElementById('container');
for(var i = 0, len = someArray.length; i < len;i++) {
container.innerHtml += 'my number: ' + i;
console.log(i);
}

Bonus points to the person who leaves a comment showing us how we can further improve the code block above.

7. The Fastest Way to Build a String

Don't always reach for your handy-dandy "for" statement when you need to loop through an array or object. Be creative and find the quickest solution for the job at hand.

view plaincopy to clipboardprint?

  1. var arr = ['item 1', 'item 2', 'item 3', ...]; 
  2. var list = '<ul><li>' + arr.join('</li><li>') + '</li></ul>'; 
var arr = ['item 1', 'item 2', 'item 3', ...];
var list = '<ul><li>' + arr.join('</li><li>') + '</li></ul>';

I won’t bore you with benchmarks; you’ll just have to believe me (or test for yourself) - this is by far the fastest method!

Using native methods (like join()), regardless of what’s going on behind the abstraction layer, is usually much faster than any non-native alternative.
- James Padolsey, james.padolsey.com

8. Reduce Globals

"By reducing your global footprint to a single name, you significantly reduce the chance of bad interactions with other applications, widgets, or libraries."
- Douglas Crockford

view plaincopy to clipboardprint?

  1. var name = 'Jeffrey'; 
  2. var lastName = 'Way'; 
  3. function doSomething() {...} 
  4. console.log(name); // Jeffrey -- or window.name
var name = 'Jeffrey';
var lastName = 'Way';

function doSomething() {...}

console.log(name); // Jeffrey -- or window.name
Better

view plaincopy to clipboardprint?

  1. var DudeNameSpace = { 
  2.    name : 'Jeffrey', 
  3.    lastName : 'Way', 
  4.    doSomething : function() {...} 
  5. console.log(DudeNameSpace.name); // Jeffrey
var DudeNameSpace = {
name : 'Jeffrey',
lastName : 'Way',
doSomething : function() {...}
}
console.log(DudeNameSpace.name); // Jeffrey

Notice how we've "reduced our footprint" to just the ridiculously named "DudeNameSpace" object.

9. Comment Your Code

It might seem unnecessary at first, but trust me, you WANT to comment your code as best as possible. What happens when you return to the project months later, only to find that you can't easily remember what your line of thinking was. Or, what if one of your colleagues needs to revise your code? Always, always comment important sections of your code.

view plaincopy to clipboardprint?

  1. // Cycle through array and echo out each name.
  2. for(var i = 0, len = array.length; i < len; i++) { 
  3.    console.log(array[i]); 
// Cycle through array and echo out each name. 
for(var i = 0, len = array.length; i < len; i++) {
console.log(array[i]);
}
10. Embrace Progressive Enhancement

Always compensate for when JavaScript is disabled. It might be tempting to think, "The majority of my viewers have JavaScript enabled, so I won't worry about it." However, this would be a huge mistake.

Have you taken a moment to view your beautiful slider with JavaScript turned off? (Download the Web Developer Toolbar for an easy way to do so.) It might break your site completely. As a rule of thumb, design your site assuming that JavaScript will be disabled. Then, once you've done so, begin to progressively enhance your layout!

Posted in: SEO-Webmaster| Tags: Type Javascript Best Pracitce Eval js Function value quot blockquote practice coerce equality

Hot Posts

Latest posts

Tags

Others

Sponsors

asp.net interview questions