(Source: Cameron Chapman from smashingmagazine.com)
Wednesday, December 21, 2011
15 Useful Project Management Tools
(Source: Cameron Chapman from smashingmagazine.com)
45+ Very Functional Javascript Sliders and Scrollers
Check out the Sliders and Scrollers here
(Source: Ahmad Hania from 1stwebdesigner.com)
Tuesday, November 15, 2011
Nuggets from the book - The Checklist Manifesto
I have listening to the audio-book - The Checklist Manifesto: How to Get Things Right by Atul Gawande. I definitely recommend the book, as it is a fascinating read.
In the book Gawande says “The checklist gets the dumb stuff out of the way, the routines your brain shouldn’t have to occupy itself with, and lets it rise above to focus on the hard stuff…”
In other words, a checklist can help you
- work smarter
- get all necessary tasks completed,
- avoid overlooking the little things that can unravel an entire project, and
- ensure that you’ve got key information available,
- remind you to communicate with all key stakeholders.
The Checklist Manifesto looks at the use of checklists in surgery, construction, investment banking, and aviation. Gawande provides some very compelling arguments for using checklists from the simple to the most complex of situations.
DEVELOPING A CHECKLIST
- Decide whether the situation calls for a DO-CONFIRM checklist or a READ-DO checklist
- Outline all the steps in a process that need to be followed
- Review situations that went wrong, identify overlooked steps and ensure those are included on the checklist
- Ensure the right people are reviewing and approving the checklist components
- Include a publication date on the checklist, as it will be revised often
- Add “pause points” at which you or the team must pause and run through a set of checks before moving onto your next steps
- Especially pertains to a DO-CONFIRM checklist type, where one distinct group of critical steps have to be completed before another set of tasks should be undertaken
- Include a ‘communication’ check to ensure that at necessary points in a process key stakeholders are communicating about the project status, next steps, and so forth
- Keep checklists simple, to one page, and with an easy to read font type
- As needed, get leadership onboard with embracing and promoting the use of checklists
- Test the checklist in actual, real-life situations
- Refine and test the checklist until it succeeds at consistently improving the process and outcomes for which it is being applied
- Schedule a regular checklist review schedule
- Determine if using the checklist in one business unit or team will require other process changes to be implemented elsewhere in the company (and make a checklist for them!)
Golden Nuggest from the book - PeopleWare (By Tom DeMarco and Timothy Lister)
Summed up in one sentence, Peopleware: Productive Projects and Teams (Second Edition)
say: Give smart people physical space, intellectual responsibility and strategic direction
DeMarco and Lister advocate:
- private offices and windows.
- creating teams with aligned goals and limited non-team work.
- managers finding good staff and putting their fate in the hands of those staff
- The manager's function is not to make people work but to make it possible for people to work
- managers should help programmers, designers, writers and other brainworkers to reach a state that psychologists call "flow" - an almost meditative condition where people can achieve important leaps towards solving complex problems
Top Ten Idea Killers in Software Development
Source: Navneeth Mandavilli @ computer.org
Friday, August 19, 2011
Wednesday, August 10, 2011
SOA'izing MSMQ with WCF
More here...
Friday, August 5, 2011
BizTalk 2010 Recipes : Importing Schemas
You can use the XSD Import method within the BizTalk Editor to reuse an existing common XML object structure within another, as opposed to manually creating an entire schema. As an example, assume you have two simple XML structures, Customer and Address:
<Customer>
<FirstName> </FirstName>
<LastName> </LastName>
<MiddleInit> </MiddleInit>
<Age></Age>
</Customer>
<Address>
<AddrLine1> </AddrLine1>
<AddrLine2> </AddrLine2>
<AddrLine3> </AddrLine3>
<Zip> </Zip>
<State> </State>
<Country> </Country>
</Address>
To use the XSD Import method to allow this scenario within BizTalk, follow these steps:
- Open the project that contains the existing schema (in this case, the Customer schema).
- Double-click the Customer schema to open it.
- Right-click the root node of the Customer schema, and select Properties.
- In the Properties window, click the ellipsis next to Imports to open the Imports dialog box, which is shown in Figure 1.
- Select XSD Import as the import type, and click the Add button.
- In the BizTalk Type Picker dialog box, select the Schemas tree node, and select the Address schema.
- Click the Customer node in the Customer schema.
- Right-click and select Insert Child Record.
- Click the newly created child record.
3. How It Works
Include: This method physically includes a schema definition within another. The common usage would be to create a static reference of a schema during the schema build process. This choice could be used to leverage previously defined XSD schema (for example, publicly available schema). The include schema must be the same target namespace of the schema you are including. Alternatively, the target namespace of the include schema can be blank.
Import: The most commonly used import method within BizTalk, the Import option includes XSD Imports statements within the source schema definition. By using this option, namespaces and XSD object structures within the target schema are available for use within the source schema in read-only fashion. The practical application for this choice revolves around common reuse, such as reuse of an existing schema artifact or use of a publicly available XML schema.
Redefine: The least-common import method within BizTalk, the Redefine option, like the Import option, allows namespaces and XSD object references to be used within the source definition. However, the Redefine option allows objects and data structures to be overridden within the source definition. Common uses could be to create an inheritance model or to reuse and customize an existing XSD structure.
Tuesday, July 19, 2011
Tips for WCF Tools
http://blogs.msdn.com/b/wcftoolsteamblog/archive/2008/08/28/tips-for-wcf-tools-in-vs2008-sp1.aspx
Sunday, July 3, 2011
Wednesday, June 15, 2011
49 Ideas For Awesome Lenses
P.S. If this isn't enough to get you going, try stopping by The Squidoodlr: A lens idea generator.
Friday, June 3, 2011
Video - BizTalk Server, SOA and the Shift to the Cloud
In the session Richard Seroter discusses the continued relevance of SOA and how to apply SOA principles when designing and exposing services from BizTalk Server. (View session 2)
Richard Seroter is a solutions architect for an industry-leading biotechnology company, a Microsoft MVP for BizTalk Server, and a Microsoft Connected Technology Advisor. He has spent the majority of his career consulting with customers as they planned and implemented their enterprise software solutions. Richard worked first for two global IT consulting firms, which gave him exposure to a diverse range of industries, technologies, and business challenges. Richard then joined Microsoft as a SOA/BPM technology specialist where his sole objective was to educate and collaborate with customers as they considered, designed, and architected BizTalk solutions. One of those customers liked him enough to bring him onboard full time as an architect after they committed to using BizTalk Server as their enterprise service bus. Once the BizTalk environment was successfully established, Richard transitioned into a solutions architect role where he now helps identify enterprise best practices and applies good architectural principles to a wide set of IT initiatives. Richard maintains a semi-popular blog of his exploits, pitfalls, and musings with BizTalk Server, SOA and enterprise architecture at http://seroter.wordpress.com/.
Presented by Richard Seroter.
Length: 52 minutes 01 seconds
Videos: WMV (Zip) | WMV | iPod | MP4 | 3GP | Zune | PSP
Audio: AAC | WMA | MP2 | MP3 | MP4
Exposing BizTalk Applications on the Cloud using AppFabric Connect for Services
Before we go deeper into details of exposing BizTalk Applications to the cloud, let us clarify how cloud related technologies have impacted application and service deployment. We can divide the application and service deployment scenarios into two broad categories:
- On-premises deployment: An application or service that runs within an organization’s firewall and is typically accessed by clients that are within the firewall.
- On-cloud deployment: An application or service that runs within an organizational firewall and can be accessed by clients inside or outside the firewall through a Service Bus endpoint exposed in the cloud. The services still run locally in IIS. Only the endpoints are exposed in the cloud.
Windows Azure AppFabric Service Bus provides the capability to take on-premise web services and extend their reach to external clients. Windows Azure AppFabric Service Bus supports this on-cloud scenario with a relay service that can listen to external clients on behalf of the on-premise web service at a given public address and relay messages between both parties.
Windows Azure AppFabric Service Bus provides the platform where developers expose the Service Bus endpoints for their on-premises services. AppFabric Connect for Services enhances the capabilities of theBizTalk WCF Service Publishing Wizard to enable developers to expose on-premise BizTalk application operations to external clients as WCF services via the Windows Azure AppFabric Service Bus relay service.
What does the BizTalk WCF Service Publishing Wizard do?
The BizTalk WCF Service Publishing Wizard essentially exposes the operations in BizTalk Applications as WCF services. AppFabric Connect for Services enhances the wizard to support the relay service provided by Azure AppFabric Service Bus. The wizard enables you to select the operations that you want to expose as services and then creates the following:
- A local endpoint for the WCF service.
- A Service Bus endpoint for the WCF service.
- A Service Bus endpoint for metadata exchange with the WCF service (if configured).
- Receive ports in the BizTalk Application, which are used to bind to the desired operations.
Security Considerations when Exposing Services on Cloud
Security becomes a paramount concern when organizations expose mission critical data and operations to services outside an organization’s protected environment. To address these concerns, organizations can follow certain security best-practices to ensure that only authenticated clients get access to the service.
- Client authentication by the Service Bus Relay Service. All the Service Bus relay bindings expose a binding property, ‘RelayClientAuthenticationType’, that controls whether the client consuming the service is required to present an authentication token to the relay service. This property can be set to either ‘None’ or ‘RelayAccessToken’. If the property is set to ‘RelayAccessToken’, the client must provide an authentication token to the Service Bus. The authentication token must be communicated separately to the client, for example, as an e-mail message by the organization hosting the service. In addition to implementing security, setting ‘RelayClientAuthenticationType’ is also a cost-effective solution for the organization hosting the service. If there is no authentication from the Service Bus, any client would be able to hit the service endpoint even if it is eventually denied by the service. As a result, the organization would incur a chargeback even though there was no business operation that resulted.
- Message-level and transport-level security. WCF inherently provides message-level and transport-level security for services. For more information on message- and transport-level security, seehttp://msdn.microsoft.com/en-us/library/ms733137.aspx.
Tip: It’s not essentially a security setting, but organizations can also secure the services which are exposed on the cloud by not making the endpoints publicly discoverable. Service Bus provides an ATOM feed which lists all the publicly discoverable endpoints under a given Service Namespace. Making the endpoints discoverable is controlled through the “DiscoveryMode” attribute of an endpoint's behavior in the "ServiceRegistrySetting". This can be set using the BizTalk WCF Adapter Publishing wizard. The disadvantage of not making the endpoints publicly discoverable is that if you have a large number of clients that would be using the service you hosted, you will have to communicate the endpoint URL to each of those clients.
Who Should Read This Whitepaper?
This whitepaper assumes some familiarity with Microsoft BizTalk Server, Windows Azure AppFabric Service Bus, Windows Azure AppFabric Access Control Service (ACS), and Windows Communication Foundation (WCF). This whitepaper is intended for the following users:
- Organizations that want to extend the reach of their on-premises BizTalk applications to the cloud by exposing them as WCF Services with endpoints in Windows Azure AppFabric Service Bus.
- Users that want to consume the web service that is extended to the cloud, to perform operations implemented in BizTalk Application that are deployed inside an organization’s firewall.
Thursday, April 7, 2011
Important Tips for New Programmers / software developers
Here's a small list of tips for new programmers.
- Read new books on software
Browse the local bookstore's software section. See what's new. Don't just read the latest Cookbooks on how to use technology, but peruse theory books.
- Watch Important Blogs
Blogs like Eric Gunnerson's for C#, Martin Fowler's and the TheServerSide for general info. Visit software web sites likepragmaticprogrammer.
- Be an active member in a local user/professional organization.
Join the local Java User's Group and .Net groups. You'll meet new and interesting, sometimes scary, people.
- Keep a daily record of major events during the day in a file.
Things like the phone numbers of people you talk with, significant bug fixes, code snippets, URLs, email addresses. It is important to keep it in a file and not just on paper, so that it can searched, transferred and backed up easily.
- Keep a library of interesting code that you've written and things you've learned.
The best way is to just publish this on the web somewhere. That way you can always locate it and your knowledge can help others.
- Remember - It's all about people
It's easy to forget during the crush of time pressures of a particular project that your relationship with your coworkers is the single most important long term issue. Don't ruin relationships just to get a single project done. Those same people are critical to the success of your next project. Besides, those people give you recommendations and job offers after your current company folds.
- As you code, think of maintenance.
Try to downgrade the skills needed to maintain your system. For example, to change a parameter use an init file instead of a java class, so someone with only text editing skills can update your program.
- When you finally track down that hard to find bug, don't fix it immediately.
Write a unit test that exposes the error. Change your code so that the error message is more descriptive. Then related bugs will be easier to find and fix. For example, if your servlet fails and the only indication is the " page cannot be displayed" message on a browser, change it so that it writes a page to the browser explaining the error, "Cannot find the file 'Config/Messages-en-US.txt'". Test your error message page, and then fix the original bug.
- Don't try to make your code modules reusable for some future mythical system.
To make a module reusable takes three times as long as for single use. The odds of you, or your friends, reusing the module is really low. Don't waster your employers money doing something that may never be used. If you find a use for that module later on, then make it reusable if it makes sense.
- Don't spend time optimizing before all is working:
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." - Donald Knuth
- Realize methodologies are just guidelines.
Don't follow methodologies blindly. Just because Object Oriented Programming is a great methodology, it doesn't imply you should always follow it. In rare cases speed or memory constraints force a good programmer to go against OOP.
The same with Domain Driven Design. It is not appropriate for very small applications.
"More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity." - W.A. Wulf
- Constantly improve your skill level.
Always be learning. Talk to other software people about their problems and solutions. Be alert, the next software revolution often happens with very little warning.
- Testing
I like this quote from a Rational brochure: "Continuous, automated testing that covers the entire development life cycle. It's the only way to manage the constant flow of changes, errors and general chaos."
Invest in a high level of automated testing. I like JUnit for Java and NUnit for .Net. If possible, write your tests so that the input is an XML description of objects. This way your testers can write your tests, instead of programmers.
- Post-Installation Test for Enterprise Software
In the administration portion of your application have an "installation test" section where all the major components get exercised. Have a link to test that the databases are connected, any web services, and that key configuration items have values. Installation is such a pain and you can relieve some of that with good tests and explanations when something is not quite cricket.
- OHIO/DRY
Remember what Ray Ozzie calls the OHIO principle (Only Handle Information Once.) "If information must be entered in two places, it won't be."
(AKA 'DRY' Principle: Don't Repeat Yourself). - Push Complexity Down
You should push complexity down to lower objects and not clutter the higher objects with details.
- Push Complexity To Smaller Objects
If all things are equal, put new complexity in the smaller objects.
- Command Query Separation (CQS)
Bertrand Meyer presented it as:
"every method should either be a command that performs an action, or a query that returns data to the caller, but not both. In other words, asking a question should not change the answer" -Wikipedia - Your biggest enemy professionally is your pride
Don't be afraid to say "Hmmm. David, I've never heard about that before; what is it?", or "Hey Frank, could you look over this code and see if there's a better way to do this.". Don't assume you know the best way to design or code something. We can all learn from each other in this voyage called life. Don't fear constructive criticism. "Faithful are the wounds of a friend."
- Coding Tidbits
- My Favorite Quotes about Programming
- "The only proof of working software is working software." - James McGovern
- "Everything knows nothing about anything." - a perfectly object-oriented system.
- "Every line of code is a liability." - Taka Muraoka
- "Software has the shelf life of bannanas." - Scott McNealy
- "It might be that the key to Ant's success is that it didn't try to be successful. It was a simple solution to an obvious problem that many people were having." -James Duncan Davidson, the creator of Ant .
At our local Java Users Group James said if he had done a full requirements analysis and tried to build the perfect tool for everyone's need, he probably would have failed. Instead he just built a little tool for himself and gradually added features that his friends really wanted right then.
- "It has been said that the great scientific disciplines are examples of giants standing on the shoulders of other giants. It has also been said that the software industry is an example of midgets standing on the toes of other midgets." -Alan Cooper, About Face
- "Measuring programming progress by lines of code is like measuring aircraft building progress by weight." -Bill Gates
- "The most amazing achievement of the computer software industry is its continuing cancellation of the steady and staggering gains made by the computer hardware industry." - Henry Petroski
- "If I had asked people what they wanted, they would have said faster horses." vaguely attributed to Henry Ford
- "There is nothing so useless as doing efficiently that which should not be done at all." - Peter Drucker