Introduction to the Yii Framework | Larry Ullman: "In 2009, I had three decent-size Web sites to develop, so I thought I might try using a PHP framework for the first time, instead of coding everything from scratch. I’ve used Ruby on Rails for Web development before, so I’m comfortable with frameworks and the MVC architecture, but I wanted to educate myself on PHP frameworks. After researching a handful of frameworks, and after an unsatisfying attempt to use Zend Framework, I finally settled on, and really came to appreciate the Yii Framework. At the time, the Yii Framework was still quite new, and there are still bugs to be worked out (for the more advanced stuff), but Yii works so well that it’s very easy to use. In this first of several posts on the Yii Framework, I just discuss setting up and testing Yii."
'via Blog this'
A collection of articles and resources of interest to the modern software developer
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Tuesday, December 11, 2012
Friday, November 23, 2012
Spring Roo and WebFlow (by Ken Rimple, Co-author, Spring Roo in Action) | Java.net
Spring Roo and WebFlow (by Ken Rimple, Co-author, Spring Roo in Action) | Java.net
How many times have you met with your end-users, figured out the navigational steps for a highly procedural web application, coded it, and found out it was just plain wrong? Every time? If you're like us, you've re-written HTML links, menus, redirects, forward instructions and controller methods too many times to count. Wouldn't your navigation code be less brittle if you could capture those rules in a descriptive language that you could change at will? Enter Spring Web Flow.
How many times have you met with your end-users, figured out the navigational steps for a highly procedural web application, coded it, and found out it was just plain wrong? Every time? If you're like us, you've re-written HTML links, menus, redirects, forward instructions and controller methods too many times to count. Wouldn't your navigation code be less brittle if you could capture those rules in a descriptive language that you could change at will? Enter Spring Web Flow.
Free ebook: Programming Windows 8 Apps with HTML, CSS, and JavaScript - Microsoft Press - Site Home - MSDN Blogs
Free ebook: Programming Windows 8 Apps with HTML, CSS, and JavaScript
Hello, Kraig Brockschmidt here. To help celebrate //build/, I’m delighted to announce the completion of Programming Windows 8 Apps with HTML, CSS, and JavaScript!
You can download the ebook in PDF format here: http://go.microsoft.com/FWLink/?Linkid=270056 (17.9 MB)
EPUB format is here: http://go.microsoft.com/FWLink/?Linkid=272592 (37.3 MB)
MOBI format is here: http://go.microsoft.com/FWLink/?Linkid=272591 (69.5 MB)
The ebook’s companion content is here: http://go.microsoft.com/FWLink/?Linkid=270057 (59.9 MB) (Note: An updated version of the companion content was made available on November 8, 2012, to fix a line of code.)
This free ebook provides comprehensive coverage of the platform for Windows Store apps. Since its second preview in August, we’ve added the remaining chapters on live tiles, notifications, background tasks, background transfers, networking, devices, printing, WinRT components, accessibility, localization, and the Windows Store itself. The final ebook contains 17 chapters. And of course all of the earlier chapters have also been reviewed and refined—over 800 pages in total, along with new and updated companion content!
Hello, Kraig Brockschmidt here. To help celebrate //build/, I’m delighted to announce the completion of Programming Windows 8 Apps with HTML, CSS, and JavaScript!
You can download the ebook in PDF format here: http://go.microsoft.com/FWLink/?Linkid=270056 (17.9 MB)
EPUB format is here: http://go.microsoft.com/FWLink/?Linkid=272592 (37.3 MB)
MOBI format is here: http://go.microsoft.com/FWLink/?Linkid=272591 (69.5 MB)
The ebook’s companion content is here: http://go.microsoft.com/FWLink/?Linkid=270057 (59.9 MB) (Note: An updated version of the companion content was made available on November 8, 2012, to fix a line of code.)
This free ebook provides comprehensive coverage of the platform for Windows Store apps. Since its second preview in August, we’ve added the remaining chapters on live tiles, notifications, background tasks, background transfers, networking, devices, printing, WinRT components, accessibility, localization, and the Windows Store itself. The final ebook contains 17 chapters. And of course all of the earlier chapters have also been reviewed and refined—over 800 pages in total, along with new and updated companion content!
Polyglot Programming on the Web | Groovy Zone
Polyglot Programming on the Web | Groovy Zone
Whether you like it or not, the web platform has become the dominant client-side technology. This fact is so obvious that even Microsoft and Adobe have abandoned their solutions in favour of the web. And as we’re going to build larger and larger applications in the browser, we need to find ways of doing it in a more productive fashion. I believe languages are a big part of it. And that’s where the Javascript community can learn a little bit from Java.
Whether you like it or not, the web platform has become the dominant client-side technology. This fact is so obvious that even Microsoft and Adobe have abandoned their solutions in favour of the web. And as we’re going to build larger and larger applications in the browser, we need to find ways of doing it in a more productive fashion. I believe languages are a big part of it. And that’s where the Javascript community can learn a little bit from Java.
Sunday, March 25, 2012
Using the open xml format sdk 2.0 version | social.msdn.microsoft.com
Using the open xml format sdk 2.0 version | social.msdn.microsoft.com.
Here's a quickie on navigating to a cell in an Excel 2007 XML document, using the Open XML Format SDK verison 2.0 released recently...
6 Habits of True Strategic Thinkers | LinkedIn
6 Habits of True Strategic Thinkers
You're the boss, but you still spend too much time on the day-to-day. Here's how to become the strategic leader your company needs.
Saturday, March 24, 2012
Using LINQ to Query Tables in Excel 2007 | MSDN
Using LINQ to Query Tables in Excel 2007
Microsoft LINQ allows for database style queries against object data. Although you cannot run LINQ queries directly against data stored in Microsoft Office Excel 2007 workbooks, it is possible to load the data into objects that do support LINQ.
This Visual How To illustrates how to use the Open XML Formats to load information stored in Excel worksheets into generic lists that support LINQ.
This Visual How To uses the Open XML Format SDK 2.0, which you need to install before you begin.
Sunday, March 18, 2012
QTP 11 now supports Google Chrome browser | Learn QTP
QTP 11 now supports Google Chrome browser | Learn QTP
QTP 11 now provides replay support for Google Chrome browser. You would need to download and install the patch QTPWEB_00088.EXE available at HP’s support site.
Labels:
Chrome,
Google,
QTP,
Test Automation,
Testing
Web Services | Learn QTP
Web Services | Learn QTP
Once again I am here with a new series of posts which will focus on Web Services Testing using QTP.
The series is divided in four parts
- Testing Web Services – Key Concepts
- Web Service Testing Wizard
- Adding Web Service Test Object to Object Repository
- Testing Web Services without enabling Web Services Add-in
Wednesday, February 22, 2012
Transforming XML Data with XSLT | oracle.com
Transforming XML Data with XSLT
The Extensible Stylesheet Language Transformations (XSLT) APIs can be used for many purposes. For example, with a sufficiently intelligent stylesheet, you could generate PDF or PostScript output from the XML data. But generally, XSLT is used to generate formatted HTML output, or to create an alternative XML representation of the data.
In this section, you'll use an XSLT transform to translate XML input data to HTML output.
Java and XSLT: Chapter 5: XSLT Processing with Java | oreilly.com
Java and XSLT: Chapter 5: XSLT Processing with Java
Since many of the XSLT processors are written in Java, they can be directly invoked from a Java application or servlet. Embedding the processor into a Java application is generally a matter of including one or two JAR files on the CLASSPATH and then invoking the appropriate methods. This chapter shows how to do this, along with a whole host of other programming techniques.
Saturday, January 28, 2012
Moving unmanaged iTunes files | Jim Ursetto
Moving unmanaged iTunes files
Some time ago I wrote an article about manipulating the iTunes XML database. I had moved some mp3s around on my NFS drive, and iTunes had lost track of them. Though I came up with a Scheme program that tracked them down and correlated them with their old location, it turns out you can't modify the iTunes XML database without losing most of your metadata, including play counts.
The best I could do was to extend the program to create symlinks from the original locations to the new ones; iTunes continues to reference the old locations, but it will see the files through the symlinks and thus access to your music is restored.
Unfortunately, this leaves a bunch of ugly symlinks hanging around for all eternity. This article fills in the missing piece by forcing iTunes to directly use the new locations.
Tuesday, January 10, 2012
Drag-and-Drop with jQuery: Your Essential Guide
Drag-and-Drop with jQuery: Your Essential Guide
Learn how to use jQuery, and the jQuery UI Draggable and Droppable plugins, to create drag-and-drop interfaces in your web pages. Includes a full drag-and-drop card game example.
James Lorenzen's Blog: Groovy Sort List
James Lorenzen's Blog: Groovy Sort List
It's real easy to sort a list of numbers
assert [1,2,3,4] == [3,4,2,1].sort()
Or even strings
assert ['Chad','James','Travis'] == ['James','Travis','Chad'].sort()
But this was my example
class Person { String id String name }def list = [new Person(id: '1', name: 'James'),new Person(id: '2', name: 'Travis'), new Person(id: '3', name: 'Chad')]
list.sort() returns James, Travis, Chad
The solution is ridiculously simple (not that I thought the previous sort would work; I have to be realistic; groovy can't do everything for me).
list.sort{it.name} will produce an order of Chad, James, Travis.
Subscribe to:
Posts (Atom)