Skip to main content

Posts

Cross-Site Scripting - (HACK) a way out

I came across to this discovery when i was affronted with the problem of trying to communicate TWO sites on different domain/server and some parameters need to be passed. As you may have “Googled” it, you can’t do outright javaScript function call from your site to a partner site since it resides on different domains. It’s a violation of the Cross-Site Scripting W3C standards for it is highly probable for site security breach. To make the picture clearer, here’s the scenario. Take for an example your site caters a hotel reservation and you have a partner seller that also maintains a site for marketing. If you want to maximize you potential sales, you’ll opt to let your partner embed/include your reservation site somewhere in their site. See the diagram now? Partner site e.g resides in www.marketing.com and your site in www.hotelreservation.com , without directly accessing your site, a customer must be able to get a hotel reservation on you partner site. There the problem on how
Recent posts

Creating Bottom-up Web Service (WSDL)

This post will primarily show you how to create a simple Web Service application through Apache Axis in Eclipse , and will not dwell on explaining the background or functionality of a Web Service. Yet, it’s a de facto to at least give a little definition. WSDL or the Web Services Definition Language is just another specification to describe network XML-based services. It supports message-oriented and procedural approach XML technologies. (for further reading click here ) 1. Preparing the web application a. Create a new web application and name it as “SimpleWebService”. b. Download and add “axis.jar” ( download here ) to the application libraries. c. Edit and add this following configurations to the web.xml file. < servlet > < servlet-name >AxisServlet< / servlet-name > < servlet-class >org.apache.axis.transport.http.AxisServlet < / servlet-class > < / servlet > < servlet > < servlet-name >AdminServlet< / servlet-name >

Reviewing the BASICS

Right knowledge in OOP makes your code and implementation more reliable. This can be achieved by correct coding practice and methodology. However, there will come a time that you’ll be affront with confusion of concepts and implementation of what OOP objects to use in right and efficient way. You’ll be stuck if you’re not well equipped. In this article, I’m hoping to aid newbies in this context, familiarize you with the basics of OOP that i think you need to know to get all throughout a smooth coding spree. Here are some common discussions found in development forums that you might find useful resource. Static vs Non-Static Static members : Act like global variables. There is only one instance of it in the entire program execution. They can be used with the class name directly and shared by all objects of a class. Example on referring a static method or data member. class A { static int firstInt; static int secondInt; static void initialize(int fnum, int

How to get rid of VB Script Just-In-Time Debugger Error

Lately i have been pestered with a lame error every time my Windows starts up. The “VB Script Just-In-Time Debugger Error” shows up and it would terminate the explorer.exe process upon clicking OK. Somehow something went wrong in the system but the error does not specifically says what it is. I don’t have a clue how to resolve it. We all know explorer.exe is critical for all windows to work, thus leaving me no choice but to run it manually. For normal users who do not know how to run the explorer.exe manually, they will be paralyzed. They won’t find their way to work it except to ask for help, which sometimes can be so annoying specially when you’re up to finish a deadline. Luckily, i was so persistent enough to search for a solution. Though no one gave the exact process of eliminating this error, I come up to finally solve it through my compilation of readings and i’ll share it with you. Here's how to get rid of this error: 1. Open Regedit (Under Run, type regedit) 2.

Search Engine Optimization (SEO)

Often we focus our site development mainly on its GUI (Graphical User Interface) and content, although this is very critical and needed, yet we tend to neglect adding some essentials that also need to be considered and included in order to optimize the site search ability. We want surfers to find and read our sites especially if we want to market something, thus it is important to make sure that our site link will be included in the list of search results on any search engines. The question is how will you do it? How will Google, Yahoo, msn etc, will find your site be indexed and included in their search results? There are a lot of things to learn and take into consideration if you want to optimize your site. Before proceeding, I’ll provide primary reference for you to get started before jumping into SEO. Read through this and decide if you need to reconstruct your site or not. Google Webmaster Site – This will acquaint you to search engines basic concepts. Webmaster Guidel

DOJO Key Links

A lot of sites, blogs and forums have emerged nowadays, you might find yourself cluttered with information that doesn’t really solved your DOJO needs. It is always a good practice to keep one solid reference that you can come back every time you stumble into your codes. Here are useful links that might help you begin and work around with DOJO. http://dojotoolkit.org/book/dojo-book-0-9/hello-world-tutorial http://www.sitepen.com/blog/series/dojo-quick-start-guide/#Ajax http://docs.dojocampus.org/key-linksl http://www.dojotoolkit.org/2008/12/11/top-10-things-you-should-know-about-dojo DOJO API http://api.dojotoolkit.org DOJO FORUM http://www.dojotoolkit.org/forum

7 Ways to gain healthy workforce

I am reposting an article ( 7 Habits To Win In Office Politics ) that was originally from lifehack.org authored by Lawrence Cheok, but with my own interpretations. I found this post helpful and factual and thought that it might also get you to work around on hard times in your own office or workforce. Everything that is posted in here is purely objective, thus you may agree or not agree on points that i might find essential. However, there is always a room for discussions and exchange of views, you may post comments or share more ways that you think should be included in this list. Way # 1. Be aware you have a CHOICE In all circumstances, disputes and disagreements arise without caution that can break or make your career. You just have two options when this comes your way, be sober and drool over the situation or get over it and move forward. It is up to you to choose the right feelings for the situation, staying long in aggression is not a good idea neither