In one of my previous articles about image optimization was regarding PNG optimization services. I needed those services in order to upload many transparent PNG files to my server and use them in my web application. No doubt that there are excellent PNG online compression services out there, and my favorite is PuntPNG. Today I've read about a new JPEG image optimization service called JPEGmini.
My Experience with Amazon Web Services (AWS) & Ubuntu in the Cloud and also SaaS Services
Tuesday, August 30, 2011
Sunday, August 14, 2011
How to use Facebook Like for Dynamic Ajax applications [Not Solved]
Today I've wanted to add Facebook LIKE button to my web application. Because my web application is actually an Ajax application, I wanted the button to share a specific URL with a hash (#) values included and dynamically set the Title and Description for the shared link for Facebook Like button.
Saturday, August 13, 2011
Facebook doesn't read Open Graph Tags for Like Button
I encounter a problem when trying to implement Facebook Like button on my web application. I wanted to use the open graph tags in order for Facebook to capture data that dynamically change due to the nature of my Ajax web application.
Setting file permission to 'public' when uploading files via AWS SDK .NET
After I was able to successfully upload files to Amazon S3 using AWS SDK .NET, I've notices that even when I set to S3CannedACL.PublicRead the file still wasn't accessible publicly. In order to make it viewable by 'Anyone', I went to my AWS console and manually clicked "Make public' to make the file viewable online from anywhere.
Friday, August 12, 2011
Does uploading files to S3 Bucket using the SDK overwrites same files by default?
Using AWS SDK for .NET makes managing your Amazon S3 static files an ease. I've built a class that encapsulates some of the S3 API calls, especially for uploading files to S3 using the SDK. However, one question I had in mind: Does the API automatically replaces objects with the same name and path [ie. request.WithKey(Path.Combine(toWhichFolder, uploadAsFileName) );] or there might be an option to set the API call to override the file if it already exists in the specific Amazon S3 bucket (and for the specific folder).
Adding far future Expires header for static files with AWS SDK for .NET
When uploading a file to S3 using AWS SDK .NET, you probably want to set up an expires header for the static file so the browser won't download the file again and by doing that the web page will load faster, the second time that the browser calls for the same static file.
Upload file to folder in S3 bucket using AWS SDK .NET
While managing to create a function that utilizes AWS SDK for .NET in order to upload files to S3 buckets, I still can't find the attribute to pass to the PutObjectRequest instance that will allow me to tell it the folder inside the bucket that I want to copy the object to. Right now the only option I've found is to be able to upload files to the root of the Amazon S3 bucket, which is not what I want.
Upload files to Amazon S3 Bucket using AWS SDK for .NET
In my current web application that I'm working on, I need an option to upload photos from my computer to Amazon S3. There are several options to upload files from your computer directly to Amazon, but I've decided to use the proxy method which I first upload the files to my own server, then the files are uploaded to an Amazon S3 bucket.
Monday, August 8, 2011
Why Do I need a CDN (Content Delivery Network) to host my Static files?
You probably ask yourself, why you need a CDN anyways?
To keep things simple, you want your static content to be delivered as fast as possible and at the same time be separate from your site content, so your web page will load faster. It's all about speed and performance, and you want to be in that place, no matter what kind of application you are developing. Static files can be images, JavaScript code files, videos, CSS ,etc. Because those files don't need to be change frequently, they can be stored on CDN, cached and served to the visitors from various locations.
To keep things simple, you want your static content to be delivered as fast as possible and at the same time be separate from your site content, so your web page will load faster. It's all about speed and performance, and you want to be in that place, no matter what kind of application you are developing. Static files can be images, JavaScript code files, videos, CSS ,etc. Because those files don't need to be change frequently, they can be stored on CDN, cached and served to the visitors from various locations.
Effective PNG Image Optimization and Compression Tools (online and desktop)
On one of my next applications, I am using a lot of transparent PNG-24 images. Knowing the importance of website speed optimization, I've started mt search for PNG compression and optimization tools, to see what can me my PNG files smaller.
Thursday, August 4, 2011
Convert mm to inches with two number precition, rounded up third number
I wanted to know how can I convert mm to inches but using only two digits precision. Furthermore, I want the thirds floating point (1.12x / x= thirds number) to be rounded up and so the second number after the point will be rounded accordingly.
Tuesday, August 2, 2011
JavaScript code protection - Compression, Obfuscation and Validations
I am working on a new project right now. I am developing it using ASP.NET and JQuery. When you spend a lot of time working on your JavaScript, you don't want somebody to reuse them without your permissions. Because JavaScript files are downloaded to the client's computer, you have no way to actually prevent those files from being copied.
Subscribe to:
Posts (Atom)
