I came across this solutions on how to redirect the domains folder or the domain itself to another website.
These are good sources, and simple to follow on different versions of IIS:
IIS v7.7 - http://marckean.wordpress.com/2012/08/14/windows-server-2008-r2-iis-v7-5-http-redirect-the-proper-way-best-practice/
IIS v6 - http://www.serverintellect.com/support/iis6/iis-url-redirect.aspx
Website Development & Programming related to front-end and back-end. Tech news: on gadgets, technology for the web and other things I think will be of use to people to be on the know.
Thursday, May 23, 2013
Tuesday, May 21, 2013
Save not permitted in MS SQL 2008 Server Management Studio
I encountered this first time on editing the fields in design, the management studio pops up a dialog box with message the changes cannot be saved due to drop and create of table.
Luckily, I found the answer on google search right away. Here is the website of that solution: http://msdn.microsoft.com/en-us/library/bb895146.aspx
Luckily, I found the answer on google search right away. Here is the website of that solution: http://msdn.microsoft.com/en-us/library/bb895146.aspx
Wednesday, May 15, 2013
jQuery Thickbox, passing querystring value
I found a solution for passing value using the jQuery Thickbox. My error was I placed the querystring value at the end, when I should have placed it on the front.
Sample:
page.php?queryvar=a&TB_iframe=true
This solved my problem. Thank you internet for giving the answer, but the answer was deep in the haystack.
Sample:
page.php?queryvar=a&TB_iframe=true
This solved my problem. Thank you internet for giving the answer, but the answer was deep in the haystack.
Labels:
javascript,
jQuery,
Philippines,
PHP,
Programming,
thickbox
Saturday, May 11, 2013
A good source of explaination on RAID, NAS, and DAS
I was just browsing on YouTube and I was subscribed on Cnet. I was fascinated about NAS servers for home use. Then the term NAS and RAID came about. I always forget the types of RAID there are and how to set them up.
Luckily, they have an article on this NAS, DAS, RAID, and other things concerning storage:
http://howto.cnet.com/8301-33088_39-57549884/digital-storage-basics-part-2-external-drive-vs-nas-server/
Luckily, they have an article on this NAS, DAS, RAID, and other things concerning storage:
http://howto.cnet.com/8301-33088_39-57549884/digital-storage-basics-part-2-external-drive-vs-nas-server/
Monday, March 4, 2013
I often relay on the javascript, when it can be done on plain html and server side script
I have been guilty of using excessive javascript on my website developments, while ignoring the fact that some people, especially the iOS device users at time disable their javascript on their browsers.
I have been developing my own version of captcha, and I designed it, by using an external javascript, that in a way no one will be able to see the generated script on the page itself.
Only problem, is the method I created is not compatible with old iPad devices that have not updated their safari browser. I was able to fix the problem, by directly placing the images on the page and not changing values on my html elements.
I have been developing my own version of captcha, and I designed it, by using an external javascript, that in a way no one will be able to see the generated script on the page itself.
Only problem, is the method I created is not compatible with old iPad devices that have not updated their safari browser. I was able to fix the problem, by directly placing the images on the page and not changing values on my html elements.
Friday, February 8, 2013
MS SQL Roles
This is a good topic to discuss. MS SQL has made granular roles for specific tasks for each user, this is for security purposes of the Database Server.
You surely want certain database owner just to be able to access their database and nothing else. Or just allow them to do a backup of their own server, this is where the database or server level roles come in.
I'm familiar of some of the roles but not all of them and at times I also forget, which role overrides the other roles, or which role is not needed.
Microsoft has the list on their site on their server level role: http://msdn.microsoft.com/en-us/library/ms188659(v=sql.105).aspx
This looks an okay reference on which is the role needed and which is not.
There is also the database level role: http://msdn.microsoft.com/en-us/library/ms189121(v=sql.105).aspx
A little off topic, I found a great blog on MS SQL versions, the list is pretty good and you will also know which version you are using. Here is the link: http://sqlserverbuilds.blogspot.com/
You surely want certain database owner just to be able to access their database and nothing else. Or just allow them to do a backup of their own server, this is where the database or server level roles come in.
I'm familiar of some of the roles but not all of them and at times I also forget, which role overrides the other roles, or which role is not needed.
Microsoft has the list on their site on their server level role: http://msdn.microsoft.com/en-us/library/ms188659(v=sql.105).aspx
This looks an okay reference on which is the role needed and which is not.
There is also the database level role: http://msdn.microsoft.com/en-us/library/ms189121(v=sql.105).aspx
A little off topic, I found a great blog on MS SQL versions, the list is pretty good and you will also know which version you are using. Here is the link: http://sqlserverbuilds.blogspot.com/
Labels:
configuration,
Development,
MS SQL,
Philippines,
SQL
Tuesday, January 29, 2013
Very good site to know the mobile screen size or viewport width
I was confident the project we are doing will will render fine on the mobile browsers of any devices. Then when we are testing in on my Galaxy S3, I notice the condition my Jr. developer made for the CSS was not correctly triggered and I was not satisfied on the way the page was shown.
I asked, what was the problem, and according to my jr. developer: There was no way of knowing the size since every time a browser zooms, the pixel width in the viewport changes. Which was true, when we tested it on our desktops and also on Opera mobile browser emulator.
While searching for a solution online, I stumbled upon this page: http://i-skool.co.uk/mobile-development/web-design-for-mobiles-and-tablets-viewport-sizes/ where a list of most mobile devices and their viewport are listed. This is very helpful in determining the smallest width you have to look for on a device.
I gave them a solution to place a width on the smallest screen possible at the viewport meta and this fixed the problem. But being a stubborn subordinate; my jr. developer retained the current settings and just change the CSS. Adding another pixel condition to render properly on my device.
When I asked, why do it like that, the reason according to my jr. developer was that setting a specific size will not render correctly on iPhone. Since none of us owns an iPhone, we have to rely on the web on this findings. According to my jr. developer the mobile website will now render correctly on the 240 pixel viewport screen, that is good enough for me.
I asked, what was the problem, and according to my jr. developer: There was no way of knowing the size since every time a browser zooms, the pixel width in the viewport changes. Which was true, when we tested it on our desktops and also on Opera mobile browser emulator.
While searching for a solution online, I stumbled upon this page: http://i-skool.co.uk/mobile-development/web-design-for-mobiles-and-tablets-viewport-sizes/ where a list of most mobile devices and their viewport are listed. This is very helpful in determining the smallest width you have to look for on a device.
I gave them a solution to place a width on the smallest screen possible at the viewport meta and this fixed the problem. But being a stubborn subordinate; my jr. developer retained the current settings and just change the CSS. Adding another pixel condition to render properly on my device.
When I asked, why do it like that, the reason according to my jr. developer was that setting a specific size will not render correctly on iPhone. Since none of us owns an iPhone, we have to rely on the web on this findings. According to my jr. developer the mobile website will now render correctly on the 240 pixel viewport screen, that is good enough for me.
Subscribe to:
Posts (Atom)