Advantage of loading external “Page Specific CSS and JavaScript”.
Inline, embedding and External.
Inline styling is the most basic type of styling elements in a page. It’s direct and straightforward. Though they provide the highest priority in the cascade, they pose a huge problem with manageability of the codes and they are only specific to the element they are found. While embedding resolves the problem of redundancy in declaration of style, embedding styles on a page still lack the solution of overall code manageability. Continue reading…
I was working with a website recently (rossnut.com) thats sells items on the web. One of the core functionality i was working with is the shopping cart. it was an upgrade from ASP 3.0 to ASP.NET 3.5. One of the things i am excited about sharing is Working with SSL and how to aquire a trial SSL certificate for local development.
What is SSL and what role does it play on eCommerce?
SSL (Secure Sockets Layer) is a protocol or mode of communication between devices in a secure manner. By default it uses port 443 as http uses port 80. Secure means all data communication between the server and the client will be encrypted/decrypted so data will be obscured from a hacker sniffing on the network for sensitive information. SSL is never meant to be used on all of your webpages. It is only meant to be used on part of your webpages that requires users to input their sensitive information like credit card information. This way, when a user know that their privacy is not threatened by explaining to them that their sensitive information is encrypted upon submission, a relationship of trust is established between you as a merchant and your users as the customers. Trust is very important in doing eCommerce. Customers may like what you sell on your website but they may be overshadowed by doubt if they do not know who you are or what your reputation is as a seller. Somehow you will need proof to vouch for your integrity. Thats where SSL Certificates comes in.
What is SSL Certificate, how it works and how do you aquire them? Continue reading…
I think this is very interesting information to post. Earlier this morning a friend of mine was troubleshooting things about loading and reading an XML document from a remote web service. The problem was when he tries to retrieve a nodelist by using an xpath expression, the children of each nodelist is not returning the correct object or data which is expected. Okay, i know that sounds like “Uhhh what?”. To give you a clear idea of what is going on here take a look at those several visualizations below. Continue reading…
‘PageRank relies on the uniquely democratic nature of the web by using its vast link structure as an indicator of an individual page’s value. In essence, Google interprets a link from page A to page B as a vote, by page A, for page B. But, Google looks at more than the sheer volume of votes, or links a page receives; it also analyzes the page that casts the vote. Votes cast by pages that are themselves ‘important’ weigh more heavily and help to make other pages ‘important’
I have created this free tool out of my spare time to determine your page rank on google search engine.
Just enter the URL of a website and hit the check button
You can also choose to display it in your website or blog as a generated button like the one i am using on the left side of this blog. At the moment, i only have 5 button templates that you can choose. I might create more in the future. If you want, you can also send me your button design so we can add it to the list.
Copy and paste the code to your website to display your Google Pagerank
Well its been a long time. I should punish myself for not writing something that could be in any way helpful to other individuals with enthusiasm on web development particularly web programming. All my write ups are all based on my experiences as i encounter specific problems or if i notice a redundancy in my coding. I do this to share my experiences and how i presented myself with a better solution to these problems that could lessen the code or to create a more “reusable” code(s).
One of the recent projects i was working on was an AJAX based (mostly) interface. When it comes to javascript, i usually use jQuery to do the job. So you might notice the examples later will be on jQuery format. jQuery is a javascript framework that does mostly the tedious javascript coding for you. For example
var elem=document.getElementById("id");
in jQuery we can translate that to
var elem=$('#id');
There are too many reasons why i used jQuery and this is not the article that will elaborate on it . My goal is plainly to inform you that events handling in javascript is very fun when you do it in jQuery. (I’m not implying on other JS framework as boring :p).
One dilemma I encounter when making AJAX based modules is when a fragment of JavaScript code makes a request and it seems like it is taking forever (the gif images progress bar is still there doing its job) and not displaying a response at all. Second dilemma is the response is written on the container element on the page and it screw up all the rest of the page because of some internal server error generated by the processing file.
Back when I was doing VB6 gracefully handling errors is one of the things that we do. But yes there were times when I get bored and put on funny labels on the error handling routines. Continue reading…