Is there a CakePHP offline manual - cakephp

There used to be, but there don't seem to be any direct links. A little digging around revealed some answers which I thought it would be useful to share.
These are links to the manual in one page - useful for offline
use or creating a PDF using Dardo Sordi Bogado's build script.
1.2 Manual in one page
https://web.archive.org/web/20120730003805/http://book.cakephp.org/complete/3/The-Manual
1.3 Manual in one page
https://web.archive.org/web/20120730004040/http://book.cakephp.org/complete/876/The-Manual

GOOGLE DOCS - CakePHP 1.3 Manual

You can download CakePHP's manual from their website:
http://book.cakephp.org/2.0/en/
In the welcome section you will find two download links :
Download the documentation:
epub format = http://book.cakephp.org/2.0/_downloads/en/CakePHPCookbook.epub
original source = https://github.com/cakephp/docs

There is no 'right' answer to my question, but the discussion has proved to be very useful.
As CakePHP now publish 'offline-able' manuals on their website for 2.x http://book.cakephp.org/2.0/en/index.html this thread is effectively redundant.

take my work: http://sourceforge.net/projects/cakephp-doc/files/

I've used gotAPI in the past but it doesn't work if the API goes offline and doesn't cover the Cookbook.
I usually just refer people to the "All in one page" Cookbook links you mentioned as these can be saved as HTML or printed to PDF.
The main issue I've heard in the past about offline copies of the Cookbook is that the content is copyrighted to the CSF, but - looking now - the content seems to be licensed for non-commercial sharing under a creative commons license. (IANAL though.)

cakephp 1.3 offline docs as a zipped, google ads stripped off html http://www.4shared.com/zip/QbLIpxwC/Cake13_-html_docs.html .

For learning Basic Cakephp 2.X version offline
http://book.cakephp.org/2.0/_downloads/en/CakePHPCookbook.pdf
and For Advance CakePHP Tips on coding side you can download a manual from below link
http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf
i hope it will give you best guideline in CakePHP

Related

Datatable Plugin for CakePHP 4

I have been upgrading my application from cakephp 3 to cakephp 4. I was using fheider/cakephp-datatables and I have come across ypnos-web/cakephp-datatables where both support cakephp 3.
I am currently looking for a cakephp-datatable plugin which supports cakephp 4.
If anybody has an idea, I would be happy.
Thanks in Advance.
Isn't the built-in pagination is what you are looking for ? you can do advanced dynamic database links with your HTML tables.
I successfully use ypnos-web/cakephp-datatables on CakePHP 4.2.7. It works very well for me.
You might have to play around a bit to get it working correctly. Read some of the issues (open and closed) on the ypnos-web/cakephp-datatables github repository and you can likely get it working.
Good Luck!

Migrating Data In Wagtail

I was wondering is there is any documentation or good resources on migrating Page models, Streamfields, and Blocks in wagtail CMS. All of this seems to not be documented much.
The official documentation has a page about StreamField, which has a section about migrations. It gives a fairly detailed description of how StreamField definitions differ from normal model fields, and the fact that migrations have been specially catered for in StreamField's design. I know that this was the biggest headache that the author faced when developing the feature.
There is also a handy guide on how to convert an existing RichTextField to a StreamField, and just yesterday, Wagtail pull request #3014 was merged, extending that documentation example.

How can create pdf file in cakephp 2.x

I am using "tcpdf" vendor file in cakephp 2.X but it is not looking good view. I want every html tag convert properly in pdf file. Please help.
I have found the a blog for you. its will be help you to find your problem.
Read the following blog
Generating PDFs with CakePHP
You will be find a link for demostration of different PDF file generator.
May be I help you.
I have built my own plugins in the past using MPDF, they worked for years, kinda slow on some environments. Recently, I switched to WkHtmlToPdf and love it. I built my own plugin then a few weeks later realized that one already existed. I would recommend using this plugin by Friends of Cake: https://github.com/FriendsOfCake/CakePdf
A lot of the contributor for Friends of Cake are also Core CakePHP developers, so its usually very well coded, tested & documented.
This plugin also works with several PDF generation engines, which is a nice touch!
I am using wkhtmltopdf for few years and it's working very good, quality of PDF you can get from a html is very good, I am also using the cakephp for PDF generation.
I am running this command from cakephp controller
shell_exec("/usr/bin/wkhtmltopdf < SOURCE_HTML_PATH/URL > < DESTINATION_PDF_PATH> ");
You can install stable version wkhtmltopdf for your linux distribution from this link
http://wkhtmltopdf.org/downloads.html#stable

Where can I find documentation for Ext.nd framework?

There's a good web-framework for Notes/Domino, called Ext.nd
In download package there's html documentation present, but some important links are broken.
Links on to official page also are broken: http://www.sencha.com/learn/general-questions/
Where can I find a decent documentation/tutorials for this framework?
The docs are now online as well as the source.
http://www.sencha.com/forum/showthread.php?252711-Extnd-docs-are-now-online

cakephp multilingual website

We're planning for a multi language website, Any idea/tricks how can we achieve the same?
Are there some ready made components/plug-ins available in CakePHP like in open source technologies?
Kindly let me know.
Thanks !
CakePHP comes with its own i18n and l11n functions. They work well for my projects and if you don't have any other requirements they should be fine for you too. Have a look at the CakePHP book for more.

Resources