PHPã«ã³ãã¡ã¬ã³ã¹ 2021 1é±éåã¤ãã³ã ã 帰ã£ã¦ããPHPåå¼·ä¼@æ±äº¬ ã®çºè¡¨è³æã§ãã https://phpcon.connpass.com/event/224128/
ã©ããï¼ ã©ã¤ã¿ã¼ã®å·å£ã§ãï¼ ATOMã¨ãã£ã¿ã§Markdownãç·¨éãã¦ãã¾ããï¼ãä»åã¯ãATOMã¨ãã£ã¿ã§Markdownããã¨ãã®ç¬èªã®æ©è½ã¨ããããã®ãã©ã°ã¤ã³ããç´¹ä»ãã¾ãã ãã®è¨äºãèªãã°ãATOMã§ã®Markdownã®ç·¨éãããã«ã¯ãã©ããã¨ééããªãã§ããï¼ ATOMã¨ã¯ï¼ ATOMã¯ãGitHubãéçºãé²ãã¦ããããã¹ãã¨ãã£ã¿ã§ãã ATOMãéçºããããã¸ã§ã¯ãã¯2008å¹´ã«GitHubã®åµæ¥è ã§ããã¯ãªã¹ã»ã¯ã³ã¹ãã©ã¹æ°ã«ãã£ã¦éå§ããã¾ããããã¼ã¸ã§ã³1.0ããªãªã¼ã¹ãããã®ã¯ãéå§ããç´7å¹´çµã£ã2015å¹´6æ26æ¥ã§ããã ATOMã¯éçºè åãã«Markdownããã¾ãã¾ãªããã°ã©ãã³ã°è¨èªã®ã³ã¼ãã£ã³ã°ãå¹çåããããã®æ©è½ãå ¼ãåãã¦ãããããã«èªå好ã¿ã«èªç±ã«ã«ã¹ã¿ãã¤ãºãããã¨ãã§ãããã¨ããã£ã¦ã¦ã¼ã¶ã¼æ°ãççºçã«å¢ãã¾ããã ATOMã®ã¤ã³
[ç»å追å äºå®] è¨äºã«ããã¾ã§ããªããé ä½ããªãæä½æ¹æ³ã§ç³ã訳ãªããã§ããï¼PDFã¯å®¹éã大ããã£ãããä½ç½åé¡ããã£ããã¨é¢åãããäºå±±ã®ãã¨ãã§ãããããã§ã大好ããªKindle Paperwhiteã§PDFãè¦ãããã ï¼ã¨ããæ¹ã¯åèã«ãã¦ãã ããã 1. USB KindleãUSBã§ãã½ã³ã³ã«ã¤ãªãã¨documentsã¨ãããã©ã«ããããããã®ä¸ã«PDFãã¶ã¡è¾¼ãã¨PDFãã¡ã¤ã«ã®é²è¦§ãå¯è½ã§ããã¯ãããã®ã¾ãã¾ã 2. ã¡ã¼ã« ããè¶ ä¾¿å©ã§ããKindle端æ«ã®ã¡ã¼ã«ã¢ãã¬ã¹å®ã¦ã«ãµã¤ãº50MB以å ã®PDF(word/mobi/azw/jpg,pngçã®ç»å/zip,lzhçã®å§ç¸®ãã¡ã¤ã«ã¨ããããã)ãæ·»ä»ã端æ«ã§éä¿¡ãå©ç¨ãã¢ãã¾ã³ã¯ã©ã¦ãã¨åæ(ãã¦ã³ãã¼ã)ãã¾ãã件åã«ãå¤æ ã¾ã㯠Convertãã¨å ¥åãéä¿¡ããäºã§æé©åããããã¡ã¤ã«(表ã¨ãã¯ãã¾ã«ãã°ã£
Kindle ãè³¼å ¥ãããä½ããããã¨æãã¾ãããï¼ å¿è«ãKindle åãã«é»ååãããæ¬ãã¹ãã¢ã§è³¼å ¥ãã¦èªãã®ã楽ãã¿ã§ããã ãã ãåãæåã«æå¾ ããã®ã¯ PDF åãããæ¢åè³ç£ï¼é»åæ¸ç±ãã¼ã¿ï¼ã Kindle ã§èªããã¨ã ã£ããã§ãã ã§ããããã«ã¯å°ããã£ãããã¾ãããæåå¯åº¦ãé«ããå³ã»è¡¨ãå«ã¾ããå ´åã«ãã£ã¦ã¯ï¼ãã¼ã¸ã«ï¼ã«ã©ã ã§è¨è¿°ãããæè¡ç³»PDFè³æï¼ä¾ãã°è«æï¼ãèªãã®ã«Kindleãé©ãã¦ããã¨ã¯è¨ãé£ãç¶æ³ã ã£ããã§ãã è²ã ã¨è©¦ãããã§ãããPDFãKindleåãã«å¤æãããã¼ã«ã»æ¹æ³ã«éã®å¼¾ä¸¸ã¯ç¡ãããããåã®çµè«ã§ããã»ã»ã»ããããä¹ ãã¶ãã«âPDF to Kindleâã§æåãããã¼ã«ã«åºä¼ãã¾ãããï¼ ãããä»æ¥ãç´¹ä»ãã k2pdfopt ã è¤éãªPDFé»åæ¸ç±ãKindleã§èªããã¨ã®é£ãã 詳ããã¯ä¸è¨ã¨ã³ããªã«æ¸ãã¾ããããå³ã»è¡¨ã®å«
帳票ãªã©ã HTML ã表示ããããã PDF ã«ããããã¨ã¯ããããã¾ããFPDF ãªã©ã使ãã° PHP 㧠PDF ãçæãããã¨ãã§ãã¾ãããçµæ§é¢åã§ããããã mPDF ã使ããã¨ã«ãã PHP ã§ç°¡åã« HTML ãã PDF ãçæãããã¨ãå¯è½ã§ãã ã¤ã³ã¹ãã¼ã« mPDF ãã¤ã³ã¹ãã¼ã«ãã¾ããmPDF ã®ãµã¤ããã zip ãã¡ã¤ã«ããã¦ã³ãã¼ããã解åãã¾ããããã PHP ããã¤ã³ã¯ã«ã¼ãã§ãããã£ã¬ã¯ããªã¸ã¢ãããã¼ããã¾ããä»å㯠mpdf ã¨ãããã£ã¬ã¯ããªãä½ããã®ä¸ã«ã¢ãããã¼ããã¾ããã ã¢ãããã¼ãå¾ãtmp ãã£ã¬ã¯ããªã¨ graph_cache ãã£ã¬ã¯ããªã«æ¸ãè¾¼ã¿æ¨©éãä¸ãã¦ããã¾ãã mPDF 㧠PDF ãçæãã 使ãæ¹ã¯ç°¡åã§ããHTML ãä¸ãã¦ãåºåããã ãã§ãã使ãæ¹ã®ä¾ã¯ä»¥ä¸ã®ããã«ãªãã¾ããä¾ã¨ã㦠Yahoo!ã¸ã£ãã³ã®ãã
ããä¸ã¤ã®æ¹æ³ã¨ãã¦ãã¡ããFPDFã®å ¬å¼ãµã¤ãã§ç´¹ä»ããã¦ããæ¥æ¬èªãããã®MBFPDFãå©ç¨ããæ¹æ³ã確èªãã¾ãã http://www.fpdf.org/ éãããã¼ã¸ã®ä¸ã«ãWhat languages can I use?ãã¨æ¸ããããããã¯ãããããã®ä¸ã«ãJapaneseãã¨æ¸ããããªã³ã¯ãããã¾ãã®ã§ã¯ãªãã¯ãã¦ä¸ããã ãhttp://www.geocities.jp/rui_hirokawa/php/pdf/mbfpdf10b.zipãã¸ã®ãªã³ã¯ãè¨è¿°ããã¦ãã¾ãããã®ãªã³ã¯å ã«MBFPDFã«ããã¾ãã®ã§ã¯ãªãã¯ãã¦ä¸ããã ãã¦ã³ãã¼ããéå§ããã¾ããä»»æã®å ´æã«ä¿åãã¦ä¸ããã ãã¦ã³ãã¼ããããã¡ã¤ã«ã¯å§ç¸®ãã¡ã¤ã«ã¨ãªã£ã¦ãã¾ãã解åãããã¡ã¤ã«ãFPDFãã¤ã³ã¹ãã¼ã«ãããã£ã¬ã¯ãã«ä¸æ¸ããã¦ä¸ããã(ãã¦ã³ãã¼ããããã¡ã¤ã«ã¯ãfpdfãã¨è¨ããã£ã¬ã¯ããªã®ä¸
C#ãä¸å¿çµãã£ã¦ãããããObjective-Céçºãã£ã¦iPhoneã¢ããªä½ããã¨ãèªåããããããã¨ã¯å é度ã»ã³ãµã使ãã®ã§ãããã使ããã¨ããã¾ã§ãå é±ç¢ºèªããããã¦ãä»é±ãããããï½ï¼ï¼ã¨æã£ã¦ãããä»åº¦ã¯PHPã®ä»äºããã£ã¦ã»ããããã â¦ããã¡ã®ããã°ã©ãã®ã»ãã®2人ã¯iPhoneã¢ããªéçºã®ä½³å¢ã«å ¥ã£ã¦ããã®ã§ãåããã®ã¯ä¿ºã ãã£ã¤ã¼ãã¨ã§ãã¾ãããã¼ãªããã¨ãããã¨ã§ãä¹ ã ã«PHPã§ããä¹ ã ã£ã¦ãã£ã¦ãã1ã¶æã¶ããããã ãããï¼ ä»åã¯ãPHPã§PDFãåºåãã¦ã»ããã¨ãããã¨ã ã俺ã¯PHPã§PDFã®åºåãã¾ã ãã£ããã¨ãªãã®ã§ãæ°ããæè¡ãæã«å ¥ããã¾ãã¨ãªãæ©ä¼ã ãªãã¨ãããã¨ã§ã話ãèãã¦ããã¨æ¡ä»¶ã¯ããããã©è³æã¯ã¾ã å ¨ç¶æ¥ã¦ã¾ããã ã¨â¦ãããã§ãã£ã¦ãã ããã£ã¦è¨ããã¦ããªãï½â¦ãã¨ããã¦ããããã¹ããã¨ã¯ã ãããããã£ã¦ããããã ãããPHPã§PDFåºåãã¡ã
Zend_Pdfã«ã¤ãã¦ããã¾ã§æ¥æ¬èªãæ±ããªãã®ã§ã使ã£ã¦ã¿ããããã©ã使ããªãã£ãZend_PdfãZend Framework 1.5ããUTF-8ã«å¯¾å¿ããã¨ãããã¨ã§æ¥æ¬èªãæ±ãç§ï¼æã ï¼ã«ã¨ã£ã¦ã¯ãããããã®ã§ãã Zend_Pdf-ex.php ï¼ããç°¡åãªä¾ï¼ <?php /**  * Zend_Pdfã§Hello World!  */ /** Zend_Pdfã®ãã¼ã */ require_once 'Zend/Pdf.php'; /** çæ */ // Zend_Pdfã®ã¤ã³ã¹ã¿ã³ã¹çæ $pdf = new Zend_Pdf(); // A4ãµã¤ãºã®ãã¼ã¸ãä½æ $pdf->pages[] = $pdf->newPage(Zend_Pdf_Page::SIZE_A4); /** è¨å®Â */ // ãã©ã³ãã®æå®ï¼æ¨æºãã©ã³ãï¼Helveticaï¼ $font = Z
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}