Welcome!

Machine Learning Authors: Ed Featherston, Elizabeth White, Dan Blacharski, Liz McMillan, William Schmarzo

Related Topics: Machine Learning

Machine Learning : Article

Real-World AJAX Book Preview: Window Event Handling

Real-World AJAX Book Preview: Window Event Handling

This content is reprinted from Real-World AJAX: Secrets of the Masters published by SYS-CON Books. To order the entire book now along with companion DVDs for the special pre-order price, click here for more information. Aimed at everyone from enterprise developers to self-taught scripters, Real-World AJAX: Secrets of the Masters is the perfect book for anyone who wants to start developing AJAX applications.

Window Event Handling
The JavaScript file handles various window-related events such as resizing the window in response to mouse-drag events on the four edges, maximizing the window or closing the window in response to mouse-click events, or moving the window in response to mouse-drag events on the title bar. On the other side, the JavaScript file also fires window events to the toolkit's event management system so that if a listener is registered for a certain window event, the listener can be called.

Window Widget API
The JavaScript file also provides an API for developers to program this window object, such as setting the window title or resizing the window programmatically. The code below lets developers set the title, status, and icon of a window object:

Listing 15.3

function _nWindowSetTitle(title)
{
   this.title=title;
   if(!this.wTitleText)
   {
     requestManager.request(this,"setTitle",25,new Array(title));
     return;
   }
   this.wTitleText.innerHTML=title;
}

function _nWindowSetStatus(s)
{
   if(!this.wStatusText)
   {
     requestManager.request(this,"setStatus",25,new Array(s));
     return;
   }
   this.wStatusText.innerHTML=s;
   this.statusText=s;
}

function _nWindowSetIcon(iconURL)
{
   if(!this.wIconImg)
   {
     requestManager.request(this,"setIcon",105,new Array(iconURL));
     return;
   }
   this.wIconImg.src=iconURL;
   this.winIcon=iconURL;
}

AjaxWord Client Application Logic
AjaxWord does a significant amount of processing on the client side for application performance reasons. With a lot of code on the client side, applications can deliver better performance. However, such applications must be designed and coded carefully to avoid code maintenance problems.

The abstraction of UI widgets into a generic AJAX toolkit certainly helps code maintenance. AjaxWord also uses an object-oriented, event-driven approach to develop the application's client-side logic to manage and maintain the client-side code.

All client-side logic resides in two JavaScript files: nwWord.js and nwWordMenuListener.js. The first JavaScript file defines the application-wide logic while the second one responds to menu and toolbar events.

Loading the Application
For applications that have a significant amount of code on the client side, developers have to consider how the application is being loaded. Otherwise users will think the application is slow and abandon it.

AjaxWord requires a significant amount of initial download (several hundred kilobytes, dozens of HTML and JavaScript files, and many image files). This download process can take anywhere from a few seconds on a fast connection to 40 seconds on a slow dialup connection. To engage the user and improve perceived performance, AjaxWord uses a progress bar to indicate the loading progress so that the user knows the status and gets constant visual feedback, as shown in Figure 15.13

AjaxWord uses the code snippet below to update the progress bar and the status message. This code snippet follows each JavaScript file declaration statement so the "loadProgress1()" method will be executed every time a new file finishes loading:

<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>

This way the user sees the progress being made as the application loads. Listing 15.4 is the loading page for AjaxWord:

Listing 15.4

<html>
<head>
<title>Progressbar</title>
<SCRIPT TYPE="text/JavaScript" SRC="../client_lib/is.js"></SCRIPT>
<Script TYPE="text/JavaScript">
   var nexArray=new Array("Event Synchronization",
   "Request Management","Object Management","Event Management",
   "Drap and Drop","Application Infrastructure","Advanced Windows System",
   "Server Communcation","Cascade Menu", "Interactive Dialog",
   "Empower the Next Generation Web","Web-based File Management",
   "Messaging","Empower the Next Generation Software",
   "Web-based Word Processing","The Webpage is the Software",
   "Extending Your OS to the Web");

   var currentProgress=0;
   function loadProgress1() {
     currentProgress++;
     var pro=Math.floor(currentProgress*100/nexArray.length);
     if(pro>99) pro=100;
     pro=pro/100;
     if(currentProgress>nexArray.length)
     currentProgress=nexArray.length; if(is.ns) {if(window.progress) progress(pro);}
else { if(parent.progress) parent.progress(pro,nexArray[currentProgress-1]);} } </
script>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</SCRIPT>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/JEvent.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/NRequestManager.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/JObjectManager.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/JEventManager.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/JDragManager.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/JPanel.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/NWindow.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nServer.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nwMenu.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nwDialog.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nwToolbar.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nwFileDialog.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nwMsgDialog.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nwFixedTable.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nwEditCtrl.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nwTabPanel.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
<SCRIPT TYPE="text/JavaScript" SRC="../ajaxword/nwWord.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">loadProgress1();</script>
</head>
</body>
</html>

Initializing the Application User Interface and Asynchronous Communications
After all script files have been downloaded, AjaxWord initializes its user interface by loading the following HTML document (ajaxword.html). It, in turn, loads two additional HTML documents, nwWordIEMenubar.html and nwWordBg.html. The entire user interface is defined by these two HTML documents. The former defines the menu bar and toolbar. The latter defines the application's MDI environment. Listing 15.5 is the HTML document (ajaxword.html) responsible for initializing the application user interface:

Listing 15.5

<HTML>
<HEAD>
<TITLE>Welcome to AjaxWord</TITLE>
<SCRIPT TYPE="text/JavaScript" SRC="../client_lib/is.js"></SCRIPT>
<SCRIPT TYPE="text/JavaScript">
   _nxLoadActiveX("../client_lib","JEvent", "JObjectManager",
   "JEventManager","JPanel","JDragManager","NRequestManager","nwDialog");
</SCRIPT>
<SCRIPT TYPE="text/JavaScript">
var topPanel; var contentPanel; //var dialogPanel;
function initDoc() {
   pageWidth = (is.ns4)? window.innerWidth: document.body.offsetWidth;
   pageHeight = (is.ns4)? window.innerHeight : document.body.offsetHeight;
   topPanel=new JPanel(null,0,0,pageWidth,66,null,null,null,true,true,window);
   contentPanel=new JPanel(null,0,66,pageWidth,pageHeight-66,null,null,null,true,true,win
dow);
   topPanel.paint();
   contentPanel.paint();      //alert(topPanel.html);
     topPanel.load("nwWordIEMenubar.html");
     contentPanel.load("nwWordBg.html");
   }

</SCRIPT>
</HEAD>
<body
   style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; MARGIN:
0px"
   scroll=no onload="initDoc();">
<iframe id="nServer1" name="nServer1" height=0 width=0></iframe>
<iframe id="nServer2" name="nServer2" height=0 width=0></iframe>
<iframe id="nServer3" name="nServer3" height=0 width=0></iframe>
<iframe id="nServer4" name="nServer4" height=0 width=0></iframe>

<form id="nServerPost1" name="nServerPost1" method="post"
   ENCTYPE="multipart/form-data">
   <input type="hidden" name="user">
   <input type="hidden" name="nwRequestID">
   <input type="hidden" name="sessionID">
   <input type="hidden" name=postData>
   <input type="hidden" name="postName">
   <input type="hidden" name="name2">
   <input type="hidden" name="data2">
</form>

<form id="nServerPost2" name="nServerPost2" method="post"
   ENCTYPE="multipart/form-data">
   <input type="hidden" name="user">
   <input type="hidden" name="nwRequestID">
   <input type="hidden" name="sessionID">
   <input type="hidden" name=""postName"">
   <input type="hidden" name="postData">
   <input type="hidden" name="name2">
   <input type="hidden" name="data2">
</form>

<SCRIPT TYPE="text/JavaScript"
   SRC="../client_lib/nServer.js"></SCRIPT>
</body>
</HTML>

After ajaxword.html finishes loading, the "onLoad" event will cause the "initDoc" method defined in this HTML document to be executed, which in turn loads nwWordIEMenubar.html and nwWordBg.html into separate container panels.

As you might have noticed from Listing 15.5, ajaxword.html also defines a few hidden "Iframe" objects. These Iframe objects are used for asynchronously communicating with the server. XML HttpRequest is not the only way to do asynchronous communication in the AJAX model. In some cases, it's actually more convenient to use the hidden "Iframe" instead. When AjaxWord was written, "Iframe" was the only option.

Further, ajaxword.html contains a few "form" elements that all fields are hidden fields. These forms are actually used to do asynchronous communications as well. When the AjaxWord client needs to send a message to the server in the background, the message is actually inserted into a hidden form field and posted to the server side as a "multipart/form-data" URL request.

Connecting the UI to Application Logic
After the nwWordIEMenubar.html file is loaded, nwWord.js is loaded in the background (actually it was already loaded by the initial loading progress screen and then cached by the browser) and the "initWord" method is called at the "onLoad" event:

<body scroll="no" class="toolbarBody"
     onselectstart="event.cancelBubble=true;return false;"
     onload="initWord()">

The "initWord()" method defined in "nwWord.js" initializes the AjaxWord client logic. It instantiates the menu bar and toolbar JavaScript controllers and associates them with the actual view objects. It also instantiates a "nwWordGUIActionListener" that listens to the menu bar and toolbar events. This is done by calling the global event manager and registering this listener object with "MenuClick," "BUTTONCLICK," "FOCUS," and "BLUR" events. "initWord" also registers the "onWordExit" method to handle the browser window close event – a subject that will be explained later in this chapter.

Listing 15.6

function initWord()
{

     pageWidth = (is.ns4)? window.innerWidth: document.body.offsetWidth;
     pageHeight = (is.ns4)? window.innerHeight : document.body.scrollHeight;
     if(parent.handleResize) parent.handleResize(pageHeight);
     menubar=new nwToolbar('menubar');
     toolbar=new nwToolbar('shortcuts');

     menuListener =new nwWordGUIActionListener();
     flistener=new focusListener();
     eventManager.addEventListener("MenuClick",menuListener);
     eventManager.addEventListener("BUTTONCLICK",menuListener);
     eventManager.addEventListener("FOCUS",flistener);
     eventManager.addEventListener("BLUR",flistener);
     toolbar.setEnable('save',false);

     if(!dialogPanel)
     {
       dialogPanel=new nwDialog("A Dialog Window",200,100,400,200,true,parent);
       dialogPanel.paint();
     }

     window.onbeforeunload=_onWordExit;
     formatSelect=document.all['formatSelect'];
     fontSelect=document.all['fontSelect'];
     sizeSelect=document.all['sizeSelect'];
}

Event Processing
"nwWordGUIActionListener.js" defines the event-handling code for this application. After it's instantiated and registered as the event handler for all menu bar and toolbar events, the event manager will route these events to this object.

This object contains two methods: onMenuClick and onButtonClick. These two methods are actually implemented by the same JavaScript function called "menuClicked." For each event, this JavaScript function will examine the "command" parameter and the source object, and route the event to the appropriate destination for processing:

Listing 15.7

function nwWordGUIActionListener()
{
   this.id="I listen to Word Menu";
   this.onMenuClick=menuClicked;
   this.onButtonClick=menuClicked;
}
function menuClicked(je)
{
   if(!je) return;
   var cmd=je.getCommand();
   var srcObj=je.getSource();
   if(cmd) cmd=cmd.toLowerCase();
   if(srcObj)
  {
     if(srcObj.id && srcObj.id=="fgColorPick")
     {
       doFormat("ForeColor",false,cmd);
       return;
     }
     else if(srcObj.id=="bgColorPick")
     {
       doFormat("BackColor",false,cmd);
       return;
     }
     else if(srcObj.id=="bgcolor")
     {
       doFormat("BgColor",false,cmd);
       return;
     }
   }
   if(cmd=="new")
   {
     openFile();
   }
   else if (cmd=="open")
   {
     var jp=showFileDialog("Open");
     jp.setFileDialog(nwFileDialog.OPEN);
     jp.fileDialogCallBack=openFile;
   }
   else if(cmd=="close")
   {
     var cw=getFocusedWindow();
     if(cw && cw.nwEditCtrl)
     {
       cw.onClose();
     }
     return;
   }
   else if(cmd=="saveas")
   {
     var cw=getFocusedWindow();
     if(cw)
     {
       cw.filename=null;
       saveFile();
     }
   }
   else if(cmd=="save")
   {
     saveFile();
   }
   else if(cmd=="pagesetup")
   {
   }
   else if(cmd=="printpreview")
   {
     showPreview();
   }
   else if(cmd=="print")
   {
     showPreview();
   }
   else if(cmd=="exit")
   {
     if(_onWordExit())
     {
       if(window.parent) window.parent.close();
       else window.close();
     }
   }
   else if(cmd=="cut")
   {
     doFormat('Cut');
     return;
   }
   else if(cmd=="copy")
   {
     doFormat('Copy');
     return;
   }
   else if(cmd=="paste")
   {
     doFormat('Paste');
     return;
   }
   else if(cmd=="selectall")
   {
     doFormat('SelectAll');
     return;
   }
   else if(cmd=="clear")
   {
     doFormat('Unselect');
     return;
   }
   else if(cmd=="find")
   {
     doDialogAction("./nwFindReplace.html","Find and Replace",550,250);
     return;
   }
   else if(cmd=="replace")
   {
     doDialogAction("./nwFindReplace.html","Find and Replace",550,250);
     return;
   }
   else if(cmd=="normalview")
   {
     var cw=getFocusedWindow();
     if(cw && cw.nwEditCtrl)
   {
     cw.nwEditCtrl.init(true);
     cw.setFocus(true);
   }
   return;
}
else if(cmd=="browseview")
{
   var cw=getFocusedWindow();
   if(cw && cw.nwEditCtrl)
   {
     cw.nwEditCtrl.init(false);
     cw.setFocus(true);
   }
   return;
   }
   else if(cmd=="preview")
   {
     showPreview();
     return;
   }
   else if(cmd=="pageview")
   {
   }
   else if(cmd=="bgimage")
   {
   }
   else if(cmd=="insertimage")
   {
     doInsert('InsertImage',true);
     return;
   }
   else if(cmd=="uploadtimage")
   {
     doDialogAction("nwUploadImage.html","Upload and Insert Image",420,160);
     return;
   }
   else if(cmd=="link")
   {
     doDialogAction(„../ajaxword/nwInputLink.html","Insert HyperLink",420,160);
     return;
   }
   else if(cmd=="button")
   {
     doInsert('InsertButton',true);
   }
   else if(cmd=="inputbutton")
   {
     doInsert('InsertInputButton',true);
   }
   else if(cmd=="hr")
   {
     doInsert('InsertHorizontalRule',true);
   }
   else if(cmd=="select")
   {
     doInsert('InsertSelectDropdown',true);
   }
   else if(cmd=="password")
   {
     doInsert('InsertInputPassword',true);
   }
   else if(cmd=="listbox")
   {
     doInsert('InsertSelectListbox',true);
   }
   else if(cmd=="textarea")
   {
     doInsert('InsertTextArea',true);
   }
   else if(cmd=="checkbox")
   {
     doInsert('InsertInputCheckbox',true);
   }
   else if(cmd=="radiobtn")
   {
     doInsert('InsertInputRadio',true);
   }
   else if(cmd=="textbox")
   {
     doInsert('InsertInputText',true);
   }
   else if(cmd=="submit")
   {
     doInsert('InsertInputSubmit',true);
   }
   else if(cmd=="reset")
   {
     doInsert('InsertInputReset',true);
   }
   else if(cmd=="inserttable")
   {
     _nwDoInsertTable();
     return;
   }
   else if(cmd=="selectcell")
   {
   }
   else if(cmd=="selectrow")
   {
   }
   else if(cmd=="selectcol")
   {
   }
   else if(cmd=="selecttable")
   {
   }
   else if(cmd=="insertcel")
   {
     _nwTableInsertCel();
     return;
   }
   else if(cmd=="insertrow")
   {
     _nwTableInsertRow();
     return;
   }
   else if(cmd=="insertcol")
   {
     _nwTableInsertCol();
     return;
   }
   else if(cmd=="deleterow")
   {
     _nwTableDeleteRow();
     return;
   }
   else if(cmd=="deletecol")
   {
     _nwTableDeleteCol();
     return;
   }
   else if(cmd=="deletecel")
   {
     _nwTableDeleteCel();
    return;
   }
   else if(cmd=="minimizeall")
   {
     for(var i=0;i<winArray.length;i++)
     {
       var wi=winArray[i];
       if(wi.isVisible()) wi.iconize();
     }
   }
   else if(cmd=="arrangewindow")
   {
     var bx=20;
     var by=20;
     var wx=bx;
     wy=by;
     var pw=500;
     ph=500;
     for(var i=0;i<winArray.length;i++)
     {
       var wi=winArray[i];
       if(i==0)
       {
         pw = wi.winLevel.document.body.offsetWidth-4;
         ph = wi.winLevel.document.body.offsetHeight-4;
       }
       if(wi.isVisible())
       {
         wi.resize(500,300);
         objectManager.bringToFront(wi);
         wi.setLocation(wx,wy);
         wx+=50;
         wy+=50;
         if(wx>pw-200)
         {
           bx+=70;
           wx=bx;
         }
         if(wy>ph-200)
         {
           by=50;
           wy=by;
         }
         if(bx>pw-200) bx=20;
       }
     }
   }
   else if(cmd=="closeall")
   {
     for(var i=0;i<winArray.length;i++)
     {
       var wi=winArray[i];
       if(wi.isVisible())
       {
         if(wi.onClose) wi.onClose();
         else wi.setVisible(false);
       }
     }
   }
   else if(cmd=="help")
   {
   }
   else if(cmd=="about")
   {
   showMsgDlg("<CENTER><H1>Ajax<i>W</i>ord</H1>Version: alpha<BR>Written and modified
   between 1996 and 2000. <BR><BR>Copyright(c)1996-2005 Coach Wei <a href='http://www.
   coachwei.com/' target=_blank>blog</a>. Open Source licensed.",
   "About AjaxWord", nwMsgDialog.OK,"../images/settings.gif");

   }
   else
   {
   }
}

Handling the Application's Exit
Unlike classic Web application developers, AJAX application developers have to pay special attention to the client-side "exit" event (say the user clicks the "close" button in the browser window). The reason is that AJAX applications typically hold state information on the client side. If the browser window is closed without proper handling, the client-side state will be lost and cause problems for the application.

AjaxWord is a good example. When the user is editing a document, if he somehow clicks the "close" button on the browser window by mistake, the browser window will be closed and his document lost.

A general way to handle this situation is to register an event handler for the "onbeforeunload" event of the "window" object. The event handler can do processing before the browser window is closed.

Listing 15.8 is the "onbeforeunload" event handler for AjaxWord. It loops though all the currently opened editing windows (stored in the "winArray" variable). For each visible editing window, it tries to save the content (the logic defined in the "onClose()" method for the "window" object). In the end, the event handler asks the user whether he or she really wants to exit from AjaxWord. If the user chooses "cancel" from the dialog, the event will be cancelled. If the user chooses "ok" from the confirmation dialog, the browser window will be closed and the application terminated on the client side.

The event handler code is:

Listing 15.8

function _onWordExit()
{
   for(var i=0;i<winArray.length;i++)
   {
     var wi=winArray[i];
     if(wi.isVisible())
     {
       if(wi.onClose()==false)
       {
         if(event)
         {
           event.returnValue="Exit from AjaxWord?";
           event.cancelBubble=true;
         }
         return false;
       }
     }
   }
   if(event) event.returnValue="Exit from AjaxWord?";
   return true;
}

AjaxWord Server Logic
AjaxWord server code is actually fairly simple, straightforward Java code. It does user registration, verification, and loads and saves files. Such tasks are trivial to Java developers and so we're not going to elaborate on them.

Summary
AjaxWord is a Web-based word processor that aims to mimic Microsoft Word. It closely resembles the look-and-feel of Microsoft Word with a rich graphical user interface, partial screen update, and asynchronous server communications. Its Web-based nature lets users securely store user documents on the server and so gives users the flexibility to use the application from anywhere.

Writing complex applications like AjaxWord requires careful design – otherwise there will be significant development and maintenance challenges. AjaxWord uses a central controller to manage and dispatch requests on the server side. On the client side, it separates all rich UI widget-related code into a generic AJAX toolkit and uses an "event dispatching" mechanism to process client events.

AJAX applications tend to keep state information on the client side. This requires developers to pay attention to state consistency. For example, it's recommended that they write code to handle application state when the user closes the browser window.

AjaxWord is open source. It's available as a free service at http://www.ajaxword.com. Developers can also download the entire code from this Web site.

This content is reprinted from Real-World AJAX: Secrets of the Masters published by SYS-CON Books. To order the entire book now along with companion DVDs, click here to order.

More Stories By Coach Wei

Coach Wei is founder and CEO of Yottaa, a web performance optimization company. He is also founder and Chairman of Nexaweb, an enterprise application modernization software company. Coding, running, magic, robot, big data, speed...are among his favorite list of things (not necessarily in that order. His coding capability is really at PowerPoint level right now). Caffeine, doing something entrepreneurial and getting out of sleeping are three reasons that he gets up in the morning and gets really excited.

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
praveen3232 05/22/09 03:05:00 AM EDT

hi Coach Wei and all,

how to get ajaxword source code.www.ajaxword.com redirect to online chess.if you have source code pls email me. my email ID [email protected]
advance thanks

@CloudExpo Stories
The need for greater agility and scalability necessitated the digital transformation in the form of following equation: monolithic to microservices to serverless architecture (FaaS). To keep up with the cut-throat competition, the organisations need to update their technology stack to make software development their differentiating factor. Thus microservices architecture emerged as a potential method to provide development teams with greater flexibility and other advantages, such as the abili...
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settle...
Product connectivity goes hand and hand these days with increased use of personal data. New IoT devices are becoming more personalized than ever before. In his session at 22nd Cloud Expo | DXWorld Expo, Nicolas Fierro, CEO of MIMIR Blockchain Solutions, will discuss how in order to protect your data and privacy, IoT applications need to embrace Blockchain technology for a new level of product security never before seen - or needed.
The cloud era has reached the stage where it is no longer a question of whether a company should migrate, but when. Enterprises have embraced the outsourcing of where their various applications are stored and who manages them, saving significant investment along the way. Plus, the cloud has become a defining competitive edge. Companies that fail to successfully adapt risk failure. The media, of course, continues to extol the virtues of the cloud, including how easy it is to get there. Migrating...
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
The use of containers by developers -- and now increasingly IT operators -- has grown from infatuation to deep and abiding love. But as with any long-term affair, the honeymoon soon leads to needing to live well together ... and maybe even getting some relationship help along the way. And so it goes with container orchestration and automation solutions, which are rapidly emerging as the means to maintain the bliss between rapid container adoption and broad container use among multiple cloud host...
Blockchain is a shared, secure record of exchange that establishes trust, accountability and transparency across business networks. Supported by the Linux Foundation's open source, open-standards based Hyperledger Project, Blockchain has the potential to improve regulatory compliance, reduce cost as well as advance trade. Are you curious about how Blockchain is built for business? In her session at 21st Cloud Expo, René Bostic, Technical VP of the IBM Cloud Unit in North America, discussed the b...
Blockchain. A day doesn’t seem to go by without seeing articles and discussions about the technology. According to PwC executive Seamus Cushley, approximately $1.4B has been invested in blockchain just last year. In Gartner’s recent hype cycle for emerging technologies, blockchain is approaching the peak. It is considered by Gartner as one of the ‘Key platform-enabling technologies to track.’ While there is a lot of ‘hype vs reality’ discussions going on, there is no arguing that blockchain is b...
Imagine if you will, a retail floor so densely packed with sensors that they can pick up the movements of insects scurrying across a store aisle. Or a component of a piece of factory equipment so well-instrumented that its digital twin provides resolution down to the micrometer.
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
As DevOps methodologies expand their reach across the enterprise, organizations face the daunting challenge of adapting related cloud strategies to ensure optimal alignment, from managing complexity to ensuring proper governance. How can culture, automation, legacy apps and even budget be reexamined to enable this ongoing shift within the modern software factory? In her Day 2 Keynote at @DevOpsSummit at 21st Cloud Expo, Aruna Ravichandran, VP, DevOps Solutions Marketing, CA Technologies, was jo...
While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads. In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, discussed how data centers of the future will be managed, how the p...
"Since we launched LinuxONE we learned a lot from our customers. More than anything what they responded to were some very unique security capabilities that we have," explained Mark Figley, Director of LinuxONE Offerings at IBM, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
When shopping for a new data processing platform for IoT solutions, many development teams want to be able to test-drive options before making a choice. Yet when evaluating an IoT solution, it’s simply not feasible to do so at scale with physical devices. Building a sensor simulator is the next best choice; however, generating a realistic simulation at very high TPS with ease of configurability is a formidable challenge. When dealing with multiple application or transport protocols, you would be...
Nordstrom is transforming the way that they do business and the cloud is the key to enabling speed and hyper personalized customer experiences. In his session at 21st Cloud Expo, Ken Schow, VP of Engineering at Nordstrom, discussed some of the key learnings and common pitfalls of large enterprises moving to the cloud. This includes strategies around choosing a cloud provider(s), architecture, and lessons learned. In addition, he covered some of the best practices for structured team migration an...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and B...
Smart cities have the potential to change our lives at so many levels for citizens: less pollution, reduced parking obstacles, better health, education and more energy savings. Real-time data streaming and the Internet of Things (IoT) possess the power to turn this vision into a reality. However, most organizations today are building their data infrastructure to focus solely on addressing immediate business needs vs. a platform capable of quickly adapting emerging technologies to address future ...
In his general session at 21st Cloud Expo, Greg Dumas, Calligo’s Vice President and G.M. of US operations, discussed the new Global Data Protection Regulation and how Calligo can help business stay compliant in digitally globalized world. Greg Dumas is Calligo's Vice President and G.M. of US operations. Calligo is an established service provider that provides an innovative platform for trusted cloud solutions. Calligo’s customers are typically most concerned about GDPR compliance, application p...
You know you need the cloud, but you’re hesitant to simply dump everything at Amazon since you know that not all workloads are suitable for cloud. You know that you want the kind of ease of use and scalability that you get with public cloud, but your applications are architected in a way that makes the public cloud a non-starter. You’re looking at private cloud solutions based on hyperconverged infrastructure, but you’re concerned with the limits inherent in those technologies.
Is advanced scheduling in Kubernetes achievable?Yes, however, how do you properly accommodate every real-life scenario that a Kubernetes user might encounter? How do you leverage advanced scheduling techniques to shape and describe each scenario in easy-to-use rules and configurations? In his session at @DevOpsSummit at 21st Cloud Expo, Oleg Chunikhin, CTO at Kublr, answered these questions and demonstrated techniques for implementing advanced scheduling. For example, using spot instances and co...