 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Wojciech Sznapka: Export colored Behat scenarios to PDF
by Chris Cornutt September 04, 2012 @ 09:42:49
Wojciech Sznapka has shares his technique for creating colorized exports of Behat tests for use in PDF files:
Behat scenarios are one of the best ways to describe system. UML Use Cases or tons of pages in SRS documents are fine, but hard to understand from the begining, and even harder to maintain in the future. Behat eases this process and also gives opportunity to automate requirements verification. To write Behat scenarios you need a text editor. I've picked my favourite - Vim, which highlights *.feature files syntax. But business people mostly don't use Vim, so I need to figure a way, to expose scenarios in easy and pleasant way.
His solution involves setting up some printing options in vim to export the tests as a Postscript file, setting the "colorscheme" to the default setting so the colors will be retained. The result is exported (via the "hardcopy" command) and can be converted into a PDF (with a result like this).
voice your opinion now!
behat test color export postscript pdf print
ThinkPHP.de: Import and export data using PHPExcel
by Chris Cornutt July 15, 2010 @ 10:21:12
On the ThinkPHP blog today there's a new post looking at their experience with PHPExcel to open, modify, save, etc Microsoft Excel files directly from PHP.
EAR's Spreadsheet_Excel_Writer combined with the project Spreadsheet_Excel_Reader on SourceForge was a good helper in the past - but only for BIFF5. BIFF8 support in spreadsheet excel writer has been a problem for a long time, and according to the authors, is still somewhat kludgy in the current version. So I needed an alternative. After a short research I stumbled upon PHPExcel which supports reading and writing of many formats in one API.
He lists some of these input and output formats and includes a simple example of how to use the tool. He creates a basic Excel file with a few different attributes (title, body, keywords) and show how to read in a document to extract the document's content.
voice your opinion now!
import phpexcel export tutorial excel microsoft
TotalPHP.com: Creating a text or csv file of information from your database
by Chris Cornutt December 10, 2008 @ 08:47:44
On the TotalPHP site there's a new tutorial showing how to pull data from your database and export it as a CSV file that tools like Excel can read in and use.
There are some occasions where you would want to export your site's information in CSV or similar text format. You might want to do this so you can view reports in a spreadsheet, or you might want an export of your product information to upload to a service like Google Products. Either way the method and end result are essentially the same.
The tutorial shows how to grab the information (via the mysqli functionality in PHP5) and formatting each row with the correct values in a certain order. Finally, the entire contents are echoed back out with the correct header() to force a download on the user's browser.
voice your opinion now!
csv tutorial mysqli database export txt format
Richard Davey's Blog: A Guide to using CVS Dude with NuSphere PhpED
by Chris Cornutt April 20, 2007 @ 08:39:00
If you're a user of the PhpED IDE in your development work and have had a bit of a hard time with the CVS support, you might want to check out this new post from Richard Davey with a guide on how to get started - specifically with the CVSDude.com hosting service.
If you use NuSphere's excellent PhpED IDE then you'll know it has built-in CVS support for source control. This is a guide I wrote to using PhpED with the CVSDude.com service, so you can get your projects up and running in no time at all.
He talks about getting a new project set up, configuring the server correctly in the Project Properties, and running an import for all of the files in your application's directory.
With that all in place, he also helps you set up the reverse - a place to check the files back out to be able to work with them easily (in a few simple steps). There's even shortcuts you can assign to help make running the CVS functions simpler.
voice your opinion now!
nusphere phped ide cvs cvsdude project import export nusphere phped ide cvs cvsdude project import export
Community News: Visustin v4 Automates PHP Flowcharting and UML Diagramming
by Chris Cornutt December 06, 2006 @ 11:43:00
According to this note from the International PHP Magazine website, there's a new tool being offered by Aivosto that allows PHP developers to "reverse engineer" their code back into flow charts and UML activity diagrams.
Visustin is the ideal diagramming tool for software developers and document writers. Save your documentation efforts by automatic charting! Visustin reverse engineers your source code and visualizes it. No manual drawing is required. Your existing code is all you need. If you see a real complex case, print it out as a big mosaic and hang it on your wall.
Functionality includes the automatic creation of a optimized layout, the ability to do a multi-page printout, saving the graphs/charts/etc in various formats, run a "bulk chart" on all of your files at once, and export options including PowerPoint, out to the web, and Word.
You can get the full details on the product (as well as screenshots and a demo) from their website.
voice your opinion now!
visutin automate flowchart uml diagram demo export visutin automate flowchart uml diagram demo export
|
Community Events
Don't see your event here? Let us know!
|