Skip to main content

Posts

Showing posts with the label web development

Ways to apply Cross origin Domain XMLHttpRequest

Over the years, JavaScript and Web programming have grown tremendously seeing several revisions and changes to suit modern day needs, yet the same origin policy remains.  The fundamental purpose of this policy is to prevent JavaScript from making requests across domain boundaries, in the process instigating various hacks for making cross-domain requests. Here’s where Cross-Origin Resource Sharing (CORS) helps. Web administrators, server developers and front-end developers are the likely lot who find this technology more useful when they need to access resources across domains, servers, protocol or port.  Additional HTTP headers are used to gain permission to access resources from a different domain server, protocol or port than the one from which the current document originated. It is to be noted that, modern browsers to mitigate any risks during cross-origin HTTP request use XMLHttpRequest or Fetch. Cross Origin Domain XMLHttpRequest is detailly discussed...

Uploading Excel file into web app

Microsoft Excel app’s flexibility to define the layout and structure of the information the way user wants, makes the data managing spreadsheet very popular among software users and developers. It’s power packed features and functionalities are easy to use, comprehensive and reliable so that users can enter, manage, maintain, save and retrieve nearly any type of information or data. Many times, software developers embed Excel Layout in a web app for easy data management. With little coding, probably with the help of Spring Boot and Hibernate, one can effectively embed the layout, download it for data entry and then successfully upload the Excel onto the application. Detailed steps are discussed here https://goo.gl/LZKPJw

Implementing md-autocomplete with AngularJs

AngularJS  is a JavaScript-based open-source front-end web application framework that is incredibly popular among developers as it provides  an excellent  toolset  to build an application most dynamically with rich interactive features and functionalities  for a real-time experience. Mostly used in  Single Page Application (SPA) projects,  AngularJS models are JavaScript objects which makes it easy to code, test, maintain reuse, and most importantly free. When it comes in one of its input   component called “md-autocomplete” these are the points to consider while implementing it during development.   It displays a dropdown of all possible matching content to user’s query. User will be able to pick required content from the drop-down that would have all the potential matches based on the search characters entered by him/her. md-autocomplete is different from browser’s autofill feature. It allows user to key-in any value bu...