RSS

Category Archives: Programming

Programming all in one;

PDF View in Kohana 3 using MPDF

Hi all, in this section i will show you how to make a simple PDF view that u can use for reporting or else using MPDF :

1. Download MPDF here : http://github.com/smgladkovskiy/kohana-mpdf
2. Extract and copy the ‘classes’ and ‘vendor’

folder inside ‘modules/mpdf’

3. edit bootstrap.php and add this line :
Kohana::modules(array(
…..
‘mpdf’ => MODPATH.’mpdf’
…..
));

4. Usage :

add this following code to use mpdf :

// Load a view using the PDF extension
$pdf = View_MPDF::factory('pdf/example');

// Use the PDF as the request response
$this->request->response = $pdf;

this will create pdf page loud and clear ;) thx to ener as the creator!

 
6 Comments

Posted by on August 19, 2010 in Programming

 

Tags: ,

Integrasi Struts2 + Hibernate 3.x.x di Netbeans 6.8

Berikut ini tuts integrasi struts2 + Hibernate menggunakan Netbeans 6.8 100% working :

Jangan lupa commentnya yach!:)

 
4 Comments

Posted by on August 16, 2010 in Programming

 

Tags:

Menginstall Struts2 di Netbeans 6.8

Ada 2 cara menginstall struts2 di Netbeans : cara ribet dan cara tidak ribet

1. Cara tidak ribet.
Cara tidak ribet adalah menginstall pluginnya struts2 di netbeans , step2nya dijelaskan disini.

2. Cara ribet.
Walaupun agak ribet tapi bisa membuat anda paham sama hirarki filenya struts2.
Disini.

Selamat bermain struts2! Artikel berikutnya adalah integrasi struts2 + Hibernate..(coming soon..)

Jangan lupa commentnya yach!tq.

 
3 Comments

Posted by on August 16, 2010 in Programming

 

Tags:

 
Follow

Get every new post delivered to your Inbox.