Singlarseo
Exchange - Saving mails to delegated User's mailbox with EWS Managed API. Microsoft Exchange allows a user to access another User’s mailbox in 2 ways, Delegation and Impersonation (Check this for more details).
If you have used Outlook or Outlook web Access (OWA) and shared mailboxes with other users, chances are that you used Exchange delegation for mailbox sharing. For our Exchange email client for corporates, we were using delegation to enable users to share Mailboxes, when we faced an important constraint. If you (the delegate) are accessing someone else’s (the delegator’s) mailbox via Exchange delegation, any mails sent on behalf of the delegator would appear in your (delegate’s) mailbox’s Sent Items.
Ext.Net - Formatting DirectMethod/DirectEvent responses. This has been a feature request for Ext.Net too, i.e. to provide a configuration option somewhere that if true emits out properly formatted script generated for initial GET request and for subsequent Ajax responses (an implementation might require considerable server resources is an altogether different story, especially as the script size grows).
I often find myself needing to format Ext.Net ajax responses (and sometimes the responses from initial page loads too) for debugging. In an ideal world, the task could have easily been handled by Fiddler’s Javascript Formatter extension. PHOOP - An Object Oriented PHP framework - Background - Rahul Singla. What, another PHP application framework… well yes… Let me give some background first.
I started web development in PHP way back during my post-graduation. My first PHP project was my personal website (initially later enhanced and moved to the current domain I have always been a fan of Object Oriented approach than the typical procedural approach of C or PHP. PHOOP - An Object Oriented PHP framework - Design Goals - Rahul Singla. In continuation of the previous blog post on the PHOOP framework’s background, I present here my design goals as I started working on the framework.
I primarily wanted to enjoy the benefits of inline html/php mode of coding for a typical PHP web application, but still make it completely object-oriented. The high-level design goals for the framework were set as follows: PHOOP - The Object Oriented PHP framework - Rahul Singla. After the design goals for the PHOOP framework, now its time to come face-to-face with the framework itself (you will find the framework files attached with this blog post).
Following are the details about the framework, you need to know for developing on it. All features discussed below would be demonstrated in a simple application built on the framework in the next blog post. I think that is sufficient information one needs to know to start developing with PHOOP. PHOOP - The Object Oriented PHP framework - Sample application - Rahul Singla. Attached with this blog post is a sample application developed in the PHOOP framework discussed in the last few blog posts (here, here and here).
You would find 2 files attached below, the first containing the code for the sample application, and second is the database for the application. Here are the steps to extract and run the application. The database backend being used is MySql but PHOOP itself does not enforce any DBMS. ExtJs components in GridPanel columns - Rahul Singla. My first blog of the new year..
Wishing all my readers a very Happy and Prosperous New Year 2011…. Coming to the topic, I have needed to have ExtJs components in GridPanel columns many times. I have been using ExtJs components in GridPanels for sometime now, but thought of writing a blog post for it only after I saw a couple of people having trouble doing so. Really it was more easy that I anticipated it to be, the first time I had an ExtJs component (a Button) in a GridPanel column. Drupal - Altering forms upside-down - Rahul Singla. My 100th blog post, and I was thinking on the topic to choose for this blog post.
I had multiple in my mind, but then decided to go back to where it all started, Drupal. My first real blog entry on this site related to my Take Control module for Drupal. So, I thought what better way to complete the century with a post related to the same technology (If you are a cricket lover, like most of us here in India, you would comprehend the importance of a century much better Okay so, let’s get down to business. Altering forms in Drupal by implementing hook_form_alter is something that comes naturally to any Drupal developer. Drupal - Need to include css files manually when using jquery_ui module - Rahul Singla. After my last blog post on Drupal, expect some more Drupal related blog posts related to my recent work that I have been doing in Drupal.
You might be knowing that the jquery_ui contributed module is the preferred way to use jQuery UI in Drupal. This module provides the jqeury_ui_add method with which you can include any jQuery UI widget on the page. The module ensures that any widget’s dependencies are also loaded automatically and that multiple modules wanting to include the same widget do not conflict by including the widget script files twice. So when I needed to use the DatePicker widget from the UI library, I thought a routine call: Ext.Net - Calendar Component CRUD operations sample - Rahul Singla. ASP.NET - Using Powershell and Google Translate to provide automatic localization - Rahul Singla. UPDATE (June 11, 2011): A complete sample ASP.NET application demonstrating features in this blog post is available here: ASP.NET – A complete translation framework through Powershell and Google Translate This was a rather interesting thing I did in the last week.
One of our large ASP.NET applications has been in production successfully for some months now, and the client has felt comfortable enough to start leveraging and deploying the application over larger parts of their corporate intranet. As part of this process, a request that came in was multi-language support, to enable their employees to use the application in one’s own native language. Sure, this should be easy we said, especially with the extensive framework ASP.NET provides for localization of any application. For the text below, I assume you are aware of ASP.NET’s localization framework and how it uses Resource files together with meta:resourcekey attribute to provide automatic substitution of localized content in the UI. Drupal - Removing the default "-Select-" option from select form elements - Rahul Singla. I needed to remove the default “-None-“/”-Select-” option that Drupal’s Form API adds to “select” form elements.
Let’s take an example. Consider the following “select” element definition for a form: Symbolic links in Windows aka Junctions - Rahul Singla. Symbolic Links in Unix, Linux and derivatives are a very common and useful feature. Symbolic links in these Operating systems allow you to place links to folders or files (which can be called shortcuts also in Windows terminology) in another folder but they appear completely transparent during normal access, meaning the file and folder that was linked to another folder appears as a normal file or folder and you can perform operations on the symbolic link as if the referenced file/folder was actually present itself instead of the symbolic link.
However, Windows Shortcuts are not exactly similar. Windows shortcuts leave a .lnk file in the target folder. Although they allow you to access the referenced file/folder through the shortcut, they are not completely transparent like symbolic links are. To prove this, test these steps: Generating signed urls for Amazon's Product Advertising API in PHP - Rahul Singla. I recently provided Amazon’s Product Advertising API integration for one of the sites I did for a client in Drupal (along with iTunes search integration etc). I have to say providing Amazon’s Product Advertising API integration was more cumbersome than integration with other such API’s available, mainly because of Amazon’s requirement of signed url requests (which basically contain SHA hash of the url for authenticating the request to Amazon), and because of far less documentation available on the Product Advertising API’s request parameters and response formats.
The major headache was generating the signed urls required for making Product API requests. ASP.NET - Converting a Physical Path to a app relative Virtual Path - Rahul Singla. I had earlier written a quick and dirty method to convert a Physical path to a virtual path (aka a url) that can be used on the client after passing through ASP.NET’s ResolveUrl method. Without much talking, here’s the method: static Globals () { Globals.applicationPath = System.Web.Hosting.HostingEnvironment.MapPath(“~/”); } public static string resolveVirtual (string physicalPath) { string url=physicalPath.Substring(Globals.applicationPath.Length).Replace(‘\\’, ‘/’).Insert(0, “~/”); return (url); } }{/syntaxhighlighter} The method Globals.resolveVirtual accepts an absolute physical path (the physical path should be an absolute path and not a relative one), strips out the path to application root from it, and then converts it to an app-relative url. Internet Explorer's Developer Tools mysteriously refuse to show up - Rahul Singla.
Internet Explorer (IE) 8’s Developer Tools seem to have a strange issue. Every once in a while, it simply refuses to show up on my screen. No matter how many times I click the Developer Tools button in IE’s menu, or press F12, the tools simply wont show up on the screen. Its more confusing because you can see the Developer Tools button in the taskbar, and clicking it multiple times gives the button focused and minimized look as happens normally when clicking taskbar buttons. ExtJs - Upgrading from 3.2.1 to 3.3.0 - Rahul Singla.
jQueryUI - Adding-removing buttons dynamically from a jQueryUI dialog - Rahul Singla. ExtJs - Adding tools dynamically to ExtJs Panels - Rahul Singla. Html - Using Buttons for selecting files to be uploaded - Rahul Singla. .Net - Regex pattern for lazy balanced group matching - Rahul Singla. Drupal - node form validation methods in hook_form_alter should be set using #after_build to always execute on form submission - Rahul Singla. Drupal - true "Save Draft" functionality for node forms by overriding node form validation - Rahul Singla. Google Chrome: Cannot read property '_commandLineAPI' of undefined error - Rahul Singla. Serializing/Deserializing RSA Public/Private keys generated using Bouncy Castle library - Rahul Singla. Serializing/Deserializing .Net's native RSA Public/Private keys - Rahul Singla.
ExtJs 4 - Running docs over IIS in Windows - Rahul Singla. ExtJs 4 - Running docs over IIS in Windows - Rahul Singla. ExtJs 4 -Vertically stacked side-by-side multiple charts - Rahul Singla. Drupal 7 - Creating Drupal style tables with paging, sorting and sticky headers - Rahul Singla. Drupal 7 - Creating Drupal style tables with paging, sorting and sticky headers - Rahul Singla. Overriding ExtJs CalendarPanel's EventEditForm - Rahul Singla.
Ajax Sorted and Paged tables in Drupal 7 - Rahul Singla. ExtJsFileManager - ExtJs based File and Image Manager plugin for TinyMCE - Rahul Singla. Drupal and Chrome - Refused to execute a JavaScript script. Source code of script found within request - Rahul Singla. Drupal 7 - Controlling/Changing order of execution of particular hooks for modules - Rahul Singla. Drupal 7 - Controlling/Changing order of execution of particular hooks for modules - Rahul Singla. Ext.Net - Invoking DirectMethods across .aspx pages - Rahul Singla. ASP.NET - A complete translation framework through Powershell and Google Translate - Rahul Singla. Drupal 7 - Creating arbitrary ANDed/ORed database queries using the DBTNG abstraction layer - Rahul Singla. SharpSvn - SharpSvn.SvnFormatException: Can't determine the user's config path - Rahul Singla. SharpSvn - Connecting and fetching logs from Remote repositories - Rahul Singla.
Drupal 7 - Handling file uploads and moving files to the public file system - Rahul Singla. ExtJs - An ExtJs Ticker Component supporting adding items dynamically - Rahul Singla. Javascript - Some quick javascript utility methods for XSS filtering - Rahul Singla. Sql Server - The log for database 'CRC1' is not available. Check the event log for related error messages. - Rahul Singla.
IE 9 Developer Tools - Inspecting elements might need an F5 key press - Rahul Singla. ExtJs and Ext.Net - Creating Ext.Net server components for custom ExtJs javascript components - Rahul Singla. Javascript - Implementing Mod 10 validation (LUHN formula) for Credit Card numbers - Rahul Singla. ASP.NET - System.InvalidOperationException: Hashtable insert failed. Load factor too high error - Rahul Singla.
iTunes - Performing iTunes store search in javascript - Rahul Singla. Javascript - Loading social plugins dynamically on the page after the page has loaded - Rahul Singla. Javascript - Monitoring changes for object attributes - Rahul Singla. CKEditor - [CKEDITOR.dialog.openDialog] Dialog "link" failed when loading definition - Rahul Singla. Ext.Net - Controlling core css and javascript files rendered on the page - Rahul Singla. iPad/iOS 5 Safari - Functions should not eval parameter with name "arguments" - Rahul Singla.
ExtJs and iScroll - Scrolling Ext containers on Touch devices (iPad, iPhone etc.) using iScroll 4 - Rahul Singla. ExtJs 4/Touch 2 - Ext.clone can lead to stack overflow with circular references - Rahul Singla. Sencha Touch 2 - Using base Ext.field.Field class as DisplayField in forms - Rahul Singla. .Net - Compressing directories recursively with ICSharpCode.SharpZipLib - Rahul Singla. Drupal - Handling PayPal IPN callbacks and saving data to the database - Rahul Singla. PayPal - IPN validation calls need to go to sandbox system when payment was made on sandbox environemnt - Rahul Singla. YouTube - Retrieving video information in javascript - Rahul Singla. Sencha Touch 2 - DropDownButton component for Touch - Rahul Singla. Sencha Touch 2 - SplitButton component for Touch - Rahul Singla. Sencha Touch 2 - SplitButton component for Touch - Rahul Singla.
Sencha Touch 2 - CompositeField for Touch - Rahul Singla. IIS 7 - 500 Internal Server Error trying to configure a default document in web.config - Rahul Singla. Visual Studio - Converting a library project to web application project (WAP) - Rahul Singla. SVN - Copying versioned folders recursively on Windows without .svn folders - Rahul Singla. Voip Drupal and PhoneRecorderField - Resolving "Audio not recorded. Try again." error - Rahul Singla. Outlook - Automatically forwarding e-mails when the server does not support it - Rahul Singla. Windows Firewall - opening/closing ports via command-line - Rahul Singla. Connecting to SqlExpress over a secure SSH Tunnel - Rahul Singla.
CollabNet Subversion - Restricting user access to repositories - Rahul Singla. DotNetNuke - Allowed file extensions and File Manager module - Rahul Singla. Windows - Task Scheduler can start programs at system startup or user logon - Rahul Singla. A simple VB like InputBox/Prompt function for PowerShell - Rahul Singla. ASP.NET MVC 4 - Convert an existing Web Application Project to Web Api project - Rahul Singla. Sql Server - Database names seem to be case-sensitive for Query Notification feature - Rahul Singla. DotNetNuke 5 and 6 - Removing users permanently in code - Rahul Singla. DotNetNuke 6 - Creating DotNetNuke styled forms - Rahul Singla. ExtJs 3 - Enabling multiple file uploads using TextField - Rahul Singla.
Drupal - Defining plugins for Views Wizards - Rahul Singla. ExtJs - Slider component with ability to add items dynamically - Rahul Singla. Drupal - Customizing View filters programatically - Rahul Singla. Visual Studio builds loaded projects only when building solution from command line - Rahul Singla. A simple VB like InputBox/Prompt function for PowerShell - Rahul Singla. Drupal 7 - Displaying available Tokens in UI and replacing Tokens in code - Rahul Singla. Exchange does not like Null character () in outgoing email bodies - Rahul Singla. ExtJs 3 - Enabling multiple file uploads using TextField - Rahul Singla. Drupal - Defining plugins for Views Wizards - Rahul Singla. ExtJs - Slider component with ability to add items dynamically - Rahul Singla. Drupal - Customizing View filters programatically - Rahul Singla. Visual Studio builds loaded projects only when building solution from command line - Rahul Singla.
Windows ODBC - DB: database - getDriverType - Data Source Does not Exist in ODBC.INI file - Rahul Singla. Drupal 7 - Displaying available Tokens in UI and replacing Tokens in code - Rahul Singla. DotNetNuke - Rendering PayPal button using a simple aspx page and an iframe - Rahul Singla. WIF - Security Token Service for Active Directory Lightweight Directory Services - Rahul Singla. Exchange does not like Null character () in outgoing email bodies - Rahul Singla.