2016”N03ŒŽ10“ú

Peer.js ‚Æ‹Y‚ꂽ‚��

(“ŠeæŠÔˆá‚¦‚½‚̂ł�}‚¿‚ç‚É‚àƒ|ƒXƒg‚µ‚¿‚á‚��‚Ü‚·B)

ŒÂlƒvƒƒWƒFƒNƒg‚Æ‚µ‚ẮACakePHP + Peer.js ‚Å‚ ‚ê‚â‚�}‚ê‚₵‚½‚��‚�}‚Æ‚ªFX‚ ‚é‚Ì‚Å‚·‚ªA‚µ‚È‚¯‚ê‚΂��‚¯‚Ȃ��‚�}‚Æ‚É–ZŽE‚³‚ê‚Ä‚Ü‚Á‚½‚­‰½‚à‚Å‚«‚Ü‚¹‚ñB

‚¤[‚ñAƒuƒƒO‚ð‘‚­—Dæ“x‚à‚©‚Ȃ艺‚Å‚·¡B‚͂��B
‚½‚¾¡‚Å‚àï¿½ï¿½‚«‚Ä‚Ü‚·‚æI
¡‚͂�N‹q—l‚Ì‚½‚߂ɃR[ƒh‚ð•KŽ€‚ŏ‘‚­–ˆ“ú‚Å‚²‚�L‚��‚Ü‚·B

CafeX‚ª¡”N‚àŸ‚¿‚Ü‚µ‚½BVidyo‚ɏŸ‚¿‚Ü‚µ‚½‚ˁBCafeX‚Í‚·‚²‚��‚Å‚·‚æ‚��`B

http://www.enterpriseconnect.com/bestofenterpriseconnect/
Best of Enterprise Connect
The Best of Enterprise Connect award recognizes exhibitors who have made significant technological advancements within the enterprise communications and collaboration industry.The Best of Enterprise Connect award recognizes exhibitors who have made significant technological advancements within the enterprise communications and collaboration industry.
posted by SDozono at 17:35| “Œ‹ž ☁| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

2015”N07ŒŽ29“ú

LiveAssistiƒ‰ƒCƒuƒAƒVƒXƒgj = “¯Šúƒuƒ‰ƒEƒWƒ“ƒO+WebRTC+ƒƒfƒBƒAƒRƒ“ƒo[ƒ^[+SIPÚ‘�}+ƒvƒ‰ƒXƒ¿

CBA‚ÅŽæ‚舵‚��‚ðŽn‚ß‚½»•i‚Å‚·B
http://cba-japan.com/cafex/
ƒAƒƒŠƒJ‚Å‚Í‚·‚Å‚É‚ ‚ñ‚ȂƂ�}‚ë‚â‚�}‚ñ‚ȂƂ�}‚ë‚ÅŽÀ‰Ò“­’†‚Å‚·B
ƒIƒyƒŒ[ƒ^‚́A’P‚ɂ�N‹q—l‚ÌŒ©‚��‚éƒy[ƒW‚ÌURL‚ðŠJ‚­‚¾‚¯‚Å‚È‚­AŽÀÛ‚̉æ–ʃCƒ[ƒW‚ðŒ©‚½‚èAƒtƒH[ƒ€‚ɑ㗝‹L“ü‚µ‚Ä‚ ‚��‚½‚è‚·‚é‚�}‚Æ‚à‰Â”\‚Å‚·B

Šù‘��‚ÌWebƒTƒCƒg‚ɐ”s’ljÁ‚·‚邾‚¯‚ł�}‚Ì‹@”\‚ª“®ì‚·‚é‚悤‚É‚È‚è‚Ü‚·B‚à‚¿‚ë‚ñAƒ‚ƒoƒCƒ‹ƒAƒvƒŠ‚ɂ‚��‚Ă͍ì‚è‚�}‚Ý‚ª•K—v‚Å‚·B
‘㗝“X‚à•åW‚µ‚�N‚è‚Ü‚·‚̂ŁA‚�N–â‚��‡‚킹‚à‚�N‘Ò‚¿‚µ‚�N‚è‚Ü‚·B



‚»‚Ì‘¼‚̃rƒfƒI‚͂�}‚¿‚çF
https://www.youtube.com/channel/UCCRFDrWXJghQAY8PIgZmmWg
posted by SDozono at 10:53| “Œ‹ž 🌁| Comment(0) | TrackBack(0) | JavaScript | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

2014”N10ŒŽ15“ú

CakePHP + Bootstrap ‚Å Bake‚µ‚½‚��lŒü‚¯I

CakePHP‚ÅBootstrap‚ðŽg‚Á‚½Bake‚ªŠÈ’P‚É‚Å‚«‚Ȃ��‚©‚ȁ[‚Æ’T‚µ‚��‚½‚çA‰º‹L‚ðŒ©‚Â‚¯‚Ü‚µ‚½B
‚�}‚ê‚Í•Ö—˜I
ƒTƒNƒb‚ÆBoostrapƒeƒ“ƒvƒŒ[ƒg‚ðŽg‚Á‚½Bake‚ª‚Å‚«‚Ü‚·B
ƒVƒ“ƒvƒ‹‚È‚Ì‚ª‚��‚��I

Bootstrap + CakePHP = BootstrapCake – A Console Shell Template
http://www.ekoim.com/blog/bootstrap-cakephp-bootstrapcake/
https://github.com/EKOInternetMarketing/BootstrapCake
posted by SDozono at 14:39| “Œ‹ž ☔| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

2014”N04ŒŽ17“ú

u˜av‚âu˜Yv‚Ì“ü‚Á‚½–¼‘O‚̐l‚́AInternet Explorer‚̃NƒbƒL[/ƒZƒbƒVƒ‡ƒ“‚Ì•s‹ï‡‚É’ˆÓ

‚��‚â‚ A‚�}‚ñ‚ȃGƒ“ƒgƒŠ[‚ð‘‚­“ú‚ª—ˆ‚é‚Ƃ́EEEEB
‚Rs‚Å‚Ü‚Æ‚ß‚é‚ƁA
======================
ÇóF Ž©“®ƒAƒbƒvƒf[ƒg‚ÌŒãAŽ©“®ƒCƒ“ƒXƒg[ƒ‹‚³‚ꂽ Internet Explorer 11‚эƒOƒCƒ“î•ñ‚È‚Ç‚ª‹L‰¯‚³‚ê‚Ȃ��BiƒNƒbƒL[‚ª‚Ü‚Á‚½‚­Œø‚©‚Ȃ��j
Œï¿½LˆöF Windowsƒ†[ƒUƒtƒHƒ‹ƒ_–¼iC:\ƒ†[ƒU[\ ‚̃tƒHƒ‹ƒ_j‚Ɂu˜Yv‚ÌŠ¿Žš‚ªŠÜ‚Ü‚ê‚��‚½‚©‚ç
‘΍ôF ƒ†[ƒUƒtƒHƒ‹ƒ_‚Ì–¼‘O‚ð•ÏX‚·‚éBi‚Ü‚½‚͐V‹Kƒ†[ƒU‚ðì‚è’¼‚·Bj
======================

‚��‚â‚ŸA•W“IŒ^UŒ‚‚Ý‚½‚��‚¾‚ȁB
u˜Yv‚Ì•t‚­–¼‘O‚́A‰º‹L‚ð‚Ý‚é‚ƐFX‚ ‚è‚Ü‚·‚̂ŁA
http://kanji.reader.bz/more/%E9%83%8E
¡‚�}‚ÌŽž“_‚Ő”çl‚̐l‚ª‚�}‚̏Ǐó‚É”Y‚Ü‚³‚ê‚��‚é‚̂ł͂Ȃ��‚©A‚Æ–Ï‘zB

Œ»ÝA‚�N‹q—l‚ªIE‚ÅŽg—p‚·‚é—\’è‚̃AƒvƒŠ‚ðŠJ”­’†‚Å‚·B‚»‚ñ‚È’†AŠJ”­ƒ}ƒVƒ“‚ÌWindows 8.1‚ÌŽ©“®ƒAƒbƒvƒf[ƒg‚ð‚©‚¯‚½ŒãAIE11‚Ì‹““®‚ª‚�N‚©‚µ‚��‚�}‚Æ‚É‹C‚ª•t‚«‚Ü‚µ‚½BƒNƒbƒL[‚ðŠo‚¦‚¸A•Êƒ^ƒu‚É‚È‚é‚ƁA‚·‚®‚ɃƒOƒCƒ“‰æ–Ê‚É–ß‚³‚ê‚Ä‚µ‚Ü‚¤‚Ì‚Å‚·B‚�N‚©‚µ‚��A‚�N‚©‚µ‚��‚ÆIE‚̐ݒè‚ð‚ ‚ê‚�}‚ê•Ï‚¦‚½‚èAƒŠƒZƒbƒg‚µ‚½‚èBƒAƒvƒŠ‘¤‚̃R[ƒh‚ªˆ«‚��‚Ì‚©‚Æ‚»‚¿‚ç‚àŠm”FB‚½‚¾AFirefox, Chrome, Windows 7ã‚ÌIE9‚È‚ç–â‘è‚È‚µEEEE‚Æ‚Ü‚Á‚½‚­Œï¿½Lˆö‚ª”»–¾‚¹‚¸BWeb‚Å’T‚µ‚Ä‚àî•ñ‚È‚µB‚�}‚̂܂܂�N‹q—l‚ÌŒ»ê‚Å“¯‚��Œ»Û‚ª‹N‚«‚½‚ç‘å•Ï‚¾B‚�}‚Ì‚Ü‚Ü‚Å‚ÍŠJ”­’†‚̐»•i‚ðo‚¹‚Ȃ��III

‚ÆŽv‚��‚«‚âAð”ӁA‚悤‚â‚­‚�}‚¿‚ç‚Ì‹LŽ–‚ð”­Œ©B
http://answers.microsoft.com/ja-jp/ie/forum/ie10-windows_7/ie%E3%82%92%E9%96%89%E3%81%98%E3%81%9F%E3%81%A0/70fd3901-a4ec-46bb-be12-8c770c4a3529
=========================================

uMicrosoft ƒRƒ~ƒ…ƒjƒeƒB - Internet Explorerv
Ž¿–â
IE‚ð•Â‚��‚½‚¾‚¯‚эƒOƒCƒ“î•ñ‚ªíœ‚³‚ê‚Ü‚·
–l‚à‚܂ӂ낳‚ñ‚ÆŽ—‚½‚悤‚ȏó‘ԂŁAIE‚ð•Â‚��‚½‚¾‚¯‚эƒOƒCƒ“î•ñ‚ªíœ‚³‚ê‚Ü‚·B
IE‚ð•Â‚��‚¸‚Æ‚àŽžŠÔ‚ð’u‚­‚�}‚Æ‚âAV‚µ‚��ƒ^ƒu‚ðŠJ‚­‚�}‚Ƃō폜‚³‚ê‚Ü‚·B
‚�}‚ÌŒ»Û‚ðwww.freem.ne.jpABingiŒŸõÝ’èjAƒjƒR“®‚ÅŠm”F‚µ‚Ü‚µ‚½B
ƒNƒbƒL[‚ª•Û‘��‚³‚ê‚ĂȂ��‚Ì‚Å‚µ‚傤‚©B

OS‚ÍWindows 7 Home Premium (x64)‚Å‚·B
IE9‚©‚çIE10‚ɃAƒbƒvƒOƒŒ[ƒh‚µ‚½“r’[‚É”­ï¿½ï¿½‚µ‚Ü‚µ‚½B

Eu‰{———š—ð‚̍폜v‚Å‘S€–Ú‚ð‘I‘ð
EuƒCƒ“ƒ^[ƒlƒbƒgƒIƒvƒVƒ‡ƒ“v‚̃ŠƒZƒbƒgiŒÂlî•ñ‚à‘I‘ð
ECCleaner‚ÅIE‚Ì‘S€–Ú‚ðÁ‹Ž
‚�}‚ꂾ‚¯‚â‚Á‚Ä‚Ý‚Ü‚µ‚½‚ªAƒ_ƒ‚Å‚µ‚½B

=========================================
‚�}‚¿‚ç‚Ì‚Ü‚Æ‚ß‚Æ‚µ‚āA
=========================================

wï¿½ï¿½’¹—V˜Z‰Ôx‚ÅŽŽ‚µ‚Ä‚Ý‚é‚ƏǏ󂪏o‚Ü‚µ‚½B
(‚·‚Ý‚Ü‚¹‚ñA‘O‰ñ‚́wŽR“c‰ÔŽqx‚ÅŽŽ‚µ‚��‚Ü‚µ‚½B)

‘¼‚É‚à‚��‚ë‚��‚뎎‚µ‚Ä‚Ý‚½‚Ƃ�}‚ëAŽŸ‚̂悤‚É‚È‚è‚Ü‚µ‚½B

Çó‚ªo‚È‚©‚Á‚½“ú–{Œê‚̃AƒJƒEƒ“ƒg–¼ : wŽR“c‰ÔŽqxw’ÐX”üxwï¿½ï¿½’¹—VxwŒÜx
Çó‚ªo‚½“ú–{Œê‚̃AƒJƒEƒ“ƒg–¼ : wï¿½ï¿½’¹—V˜Z‰Ôxwï¿½ï¿½’¹—V˜Z‰Ô‚³‚ñxw˜Z‰Ôxw˜Zx

‚Ü‚½AIE 9 ‚ÅŽŽ‚µ‚½‚Æ‚«‚́wï¿½ï¿½’¹—V˜Z‰Ôx‚Å‚à–â‘肪‚È‚©‚Á‚½‚̂ŁAŽŽ‚µ‚ɁAIE 10 ‚ðíœ‚µ‚Ä IE 9 ‚É–ß‚µ‚Ä‚Ý‚½‚Ì‚Å‚·‚ªAw˜Zx‚̂‚��‚��‚éƒAƒJƒEƒ“ƒg‚ł͏Ǐ󂪏o‚½‚Ü‚Ü‚Å‚µ‚½B

‚Ç‚¤‚â‚烆[ƒU[–¼‚Ɂw˜Zx‚ª“ü‚Á‚��‚é‚ƃ_ƒ‚Ȃ悤‚Å‚·BB

=========================================

•ï¿½ï¿½ŽšƒR[ƒh•\ ƒVƒtƒgJIS(Shift_JIS)
‚©‚çA„’è‚·‚é‚ƁA

˜S ˜T ˜U ˜V ˜W ˜X ˜Y ˜Z ˜[ ˜\ ˜] ˜^ ˜_ ˜` ˜a ˜b ˜c ˜d ˜e ˜f ˜g ˜h ˜i ˜j ˜k ˜l ˜m ˜n ˜o ˜p ˜q ˜r

‚�}‚ê‚ç‚̕��Žš‚ªŠë‚È‚»‚¤‚Å‚·B

=========================================

‚Æ‚ ‚è‚Ü‚·B
‚»‚¤‚��‚¦‚΁AŽ„‚̃†[ƒUƒtƒHƒ‹ƒ_‚à "CFƒ†[ƒU[¡¡˜Y" ‚ŁAu˜Yv‚ÌŠ¿Žš‚ª“ü‚Á‚��‚Ü‚·B
‚�}‚ꏟŽè‚ÉŠ¿Žš‚̃tƒHƒ‹ƒ_‚É‚È‚Á‚��‚āA‚��‚₾‚Á‚½‚ñ‚¾‚æ‚ȁ[B

Windows 8.1‚ðƒNƒŠ[ƒ“ƒCƒ“ƒXƒg[ƒ‹‚µ‚½ŽžA‚Ü‚³‚©A“o˜^‚µ‚½–¼‘O‚ÌŠ¿Žš‚ªƒ†[ƒUƒtƒHƒ‹ƒ_–¼‚Æ‚µ‚Ä‚»‚Ì‚Ü‚ÜŽg—p‚³‚ê‚é‚Æ‚ÍŽv‚��‚Ü‚¹‚ñ‚Å‚µ‚½B‚ ‚ꂪ¡ ‚É‚È‚Á‚Ä‘å‚«‚È–â‘è‚É‚È‚é‚Ƃ́B‚ ‚ƁAOneDrive(Skydrive)‚̃AƒJƒEƒ“ƒg‚́A‚·‚Å‚É—e—Ê‚ª‘‚¦‚½ó‘Ô‚É‚È‚Á‚��‚é‚̂ŁA‚�N‚��‚»‚ê‚ƐV‹Kƒ†[ƒUì‚Á‚ăIƒbƒP[‚Ƃ��‚¤‚킯‚É‚È‚è‚Ü‚¹‚ñBVƒ†[ƒU‚ðì‚Á‚½‚çAV‚µ‚��OneDriveƒAƒJƒEƒ“ƒg‚É‚È‚Á‚Ä‚µ‚Ü‚¤IH

ã‹L‚̃Šƒ“ƒN‚ɂ́A
=========================

–â‘è‚̍L‚ª‚è‚̉”\«A‘ΏˆŽž‚̃†[ƒU•‰’S‚ðl‚¦‚é‚ƁA‘‚­A‘��‚­‘Ήž‚µ‚½‚Ù‚¤‚ª‚æ‚��‚Å‚µ‚傤B
Win8AIE10AMSŽÐ‚Ì•]”»AM”FA‚Ђ��‚Ă͋Ɛтɂ©‚©‚í‚é‚©‚àB

=========================
‚Æ‚ ‚è‚Ü‚·‚ªAIE11‚Å‚à‚Ü‚¾‚»‚Ì–â‘肪Žc‚Á‚��‚éA‚Ƃ��‚¤‚�}‚Æ‚Å‚·‚ˁB

‰º‹LAInternet Explorer 10‚Æ‚ ‚è‚Ü‚·‚ªAIE11‚à‚Å‚·‚ˁB
http://support.microsoft.com/kb/2873010/ja
Windows 8.1‚Łuƒ†[ƒUƒAƒJƒEƒ“ƒg‚ð‚Ђ炪‚Ȃɍ·‚µ‘Ö‚¦v‚Ä‚àA
C:\ƒ†[ƒU[\¡¡˜Y
‚Ƃ��‚¤ƒtƒHƒ‹ƒ_–¼‚͕ύX‚³‚ê‚Ȃ��‚Å‚·B

Ž„‚̏ꍇA‰º‹L‚̃Šƒ“ƒN‚©‚炽‚Ç‚Á‚½A

î•ñ‰ÈŠw‰®‚³‚ñ‚ð–ÚŽw‚·l‚̃ƒ‚
http://did2memo.net/2013/03/07/windows-8-user-folder-name/
uWindows 8 ‰ŠúÝ’è‚Å—v’ˆÓIƒ†[ƒUƒtƒHƒ‹ƒ_–¼‚ªŠ¿Žš‚É‚È‚Á‚Ä‚µ‚Ü‚Á‚½Œï¿½Lˆöv

‰º‹L‚̃Šƒ“ƒN‚Ì"I have already logged into that account"‚Ƃ��‚¤Š‚Ì•û–@‚ŁA‚»‚̂܂܂̃AƒJƒEƒ“ƒg‚̃tƒHƒ‹ƒ_–¼‚ð•ÏX‚Å‚«‚Ü‚µ‚½B
http://superuser.com/questions/495290/how-to-rename-user-folder-in-windows-8

‚½‚¾AŽ¸”s‚̃ŠƒXƒN‚ðl‚¦‚é‚ƁA‚�N‚��‚»‚ê‚Ɛl‚ɂ�NŠ©‚ߏo—ˆ‚é•û–@‚Å‚Í‚ ‚è‚Ü‚¹‚ñB
‚�}‚êA‚½‚Ü‚½‚Ü‰ðŒˆ•û–@‚ªŒ©‚‚©‚Á‚½‚©‚ç‚æ‚©‚Á‚½‚à‚̂́A’��‚ߐ؂è‚��‚è‚��‚è‚ōì‹Æ‚µ‚��‚ég‚É‚Æ‚Á‚ẮA‚P“ú‚ªŠÛX‚‚Ԃê‚éu‚¾‚¯v‚Å‚·‚ñ‚¾‚Ì‚ª•sŽv‹c‚È‚­‚ç‚��‚Å‚·B“Á‚ɁAÅ‰‚É“o˜^‚µ‚½ƒAƒJƒEƒ“ƒg–¼‚ÌŠ¿Žš‚Ɂu˜Yv‚ª“ü‚Á‚��‚éê‡‚¾‚¯A‚Ý‚½‚��‚ȃoƒO‚́A‚Ü‚í‚è‚̐l‚É•·‚��‚Ä‚à‚»‚̑��Ý‚·‚ç’m‚ç‚Ȃ��‚킯‚ŁA‘S‘‚́u˜Yv‚Ì“ü‚Á‚½WindowsŽg—pŽÒ‚ª‚�}‚Ì–â‘è‚É‚Í‚Ü‚ç‚Ȃ��‚悤AŠè‚¤‚΂©‚è‚Å‚·EEEEB

m’Ç‹Ln‚â‚Í‚èAã‹L‚ŃtƒHƒ‹ƒ_–¼‚ð•ÏX‚µ‚½ê‡AƒŒƒWƒXƒgƒŠ‚ÉŽc‚Á‚��‚éƒpƒX‚Ì—š—ð‚Ȃǂ܂ł܂Ƃ߂ĕύX‚³‚ê‚é‚킯‚à‚È‚­AŒ‹‹ÇAƒŒƒWƒXƒgƒŠ‚ÌŒŸõE’uŠ·‚Å‚«‚éƒc[ƒ‹‚ŁAˆêŠ‡‚µ‚ĐV‚µ‚��”¼Šp‰p”Žš‚̃†[ƒU–¼‚ւƃŒƒWƒXƒgƒŠ‚̃f[ƒ^‚à•ÏX‚µ‚Ü‚µ‚½B¡‚̂Ƃ�}‚ëA–â‘è‚È‚­“®ì‚µ‚��‚Ü‚·B

[‚³‚ç‚É’Ç‹L]¡“úi2014/5/2j‚ÌIEƒAƒbƒvƒf[ƒg‚àŽŽ‚µ‚Ä‚Ý‚Ü‚µ‚½‚ªA‰ü‘P‚³‚ê‚Ü‚¹‚ñ‚Å‚µ‚½BuƒeƒXƒg‘¾˜Yv‚Ƃ��‚¤ƒAƒJƒEƒ“ƒg‚ðì‚Á‚ÄŽŽ‚µ‚½‚Ƃ�}‚ëAŒ©Ž–‚ÉGmail‚àYahoo‚àƒƒOƒCƒ“ó‘Ô‚É‚Å‚«‚¸B



posted by SDozono at 10:12| “Œ‹ž ☀| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

2014”N03ŒŽ14“ú

CakePHP 3.0.X ‚Í•¡‡ƒL[‚ɑΉžI

‚��‚��‚©ˆ«‚��‚©‚Í•Ê‚Æ‚µ‚āA•¡‡ƒL[‚ɑΉž‚·‚é‚悤‚É‚È‚é‚»‚¤‚Å‚·I

ORM improvements
We've continued to build out capabilities in the ORM. Some notable improvements in dev2 were:
Composite primary key support - The ORM now supports composite primary keys in all associations.
http://bakery.cakephp.org/articles/lorenzo/2014/03/12/cakephp_3_0_0_dev_preview_2_released
posted by SDozono at 13:38| “Œ‹ž ☁| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

2014”N01ŒŽ29“ú

Search Plugin‚ŁAorConditions() ‚Ý‚½‚��‚È‚Ì‚ðŽg‚��‚È‚ª‚瓯Žž‚ɍi‚荞‚Þ

‚‚��‚Å‚É‚à‚¤‚ЂƂ‘‚��‚�N‚«‚Ü‚·B

https://github.com/CakeDC/search
‚Ì Search Plugin‚Ìà–¾‚ðŒ©‚é‚ƁA orConditions() ‚̂悤‚ȃƒ\ƒbƒh‚ðŽ©•ª‚ŏ‘‚­‚ƁAu“¯‚��ƒL[ƒ[ƒh‚Å•¡”ƒtƒB[ƒ‹ƒh‚ðŒŸõ‚Å‚«‚¿‚á‚Á‚½‚è‚·‚é‚æv‚Ə‘‚��‚Ä‚ ‚è‚Ü‚·B

ƒ‚ƒfƒ‹.php ‚Ì’†‚ɁA

public $filterArgs = array(
'filter' => array('type' => 'query', 'method' => 'orConditions'),
);

‚Æ‚©‘‚��‚āA

public function orConditions($data = array()) {
$filter = $data['filter'];
$cond = array(
'OR' => array(
$this->alias . '.title LIKE' => '%' . $filter . '%',
$this->alias . '.body LIKE' => '%' . $filter . '%',
));
return $cond;
}

‚Ƃ��‚¤ƒR[ƒh‚É—U“�}‚µ‚Ä‚â‚ê‚΁AtitleƒtƒB[ƒ‹ƒh‚ÆbodyƒtƒB[ƒ‹ƒh‚𗼕ûŒŸõ‚Å‚«‚¿‚á‚��‚Ü‚·‚æA‚ƁB
‚Å‚à‚�}‚ê‚ð‚»‚Ì‚Ü‚Ü‘f’¼‚ÉŽg‚¤‚ƁAŒŸõ€–Ú‚ª•¡”‚ ‚é‚Æ‚«‚É–â‘è‚É‚È‚Á‚Ä‚µ‚܂��‚Ü‚·B

‚¹‚Á‚©‚­ƒTƒ“ƒvƒ‹‚Ì•W€ó‘Ԃł́A
SQL‚̃NƒGƒŠ‚ªA
@~~~ WHERE ƒ‚ƒfƒ‹.ƒtƒB[ƒ‹ƒhA='A' AND ƒ‚ƒfƒ‹.ƒtƒB[ƒ‹ƒhB='B' AND ƒ‚ƒfƒ‹.ƒtƒB[ƒ‹ƒhC='C'
‚̂悤‚ɍi‚荞‚Ý‚É‚È‚Á‚��‚é‚̂ɁAã‹L‚ð‚»‚Ì‚Ü‚Ü‚Â‚Á‚�}‚ނƁA
@~~~ WHERE ƒ‚ƒfƒ‹.ƒtƒB[ƒ‹ƒhA='A' OR ƒ‚ƒfƒ‹.title='B' OR ƒ‚ƒfƒ‹.body='B' AND ƒ‚ƒfƒ‹.ƒtƒB[ƒ‹ƒhC='C'
‚Æ‚©‚É‚È‚Á‚Ä‚µ‚Ü‚¤‚ñ‚Å‚·B
‚�}‚ê‚ÍŽg‚¦‚Ȃ��I

‚ŁA‚�}‚ê‚Ì‰ðŒˆô‚Å‚·‚ªA‚¿‚å‚Á‚ƍl‚¦‚é‚ÆŽv‚��‚‚«‚Ü‚·B
‰º‹L‚̂悤‚É"‚«‚¿‚ñ‚Æ"Ý’肵‚Ü‚µ‚傤B

public function orConditions($data = array()) {
$filter = $data['filter'];
$cond = array(
'AND'=>array(
'OR' => array(
$this->alias . '.title LIKE' => '%' . $filter . '%',
$this->alias . '.body LIKE' => '%' . $filter . '%',
)
));
return $cond;
}


‚�}‚¤‚·‚邾‚¯‚ŁA

@~~~ WHERE ƒ‚ƒfƒ‹.ƒtƒB[ƒ‹ƒhA='A' AND (ƒ‚ƒfƒ‹.title='B' OR ƒ‚ƒfƒ‹.body='B') AND ƒ‚ƒfƒ‹.ƒtƒB[ƒ‹ƒhC='C'

‚Ƃ��‚¤SQL‚É‚È‚è‚Ü‚·B






posted by SDozono at 17:17| “Œ‹ž ☀| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

Search Plugin ‚ŁASQL Query: validateSearch ƒGƒ‰[

‚Ђ³‚µ‚Ô‚è‚ÉCakePHP‚̃vƒƒOƒ‰ƒ€‚ð‘‚ï¿½ï¿½‚��‚Ü‚·B‚Ù‚ñ‚ƂɂЂ³‚µ‚Ԃ肾‚ȁ`B
CakePHP 1.X ‚ÌŽž‘ã‚©‚ç 2.X ‚É“Ë‘RƒWƒƒƒ“ƒv‚µ‚½‚̂ŁAŠo‚¦‚é‚�}‚Æ‚ª‚¯‚Á‚�}‚¤‚ ‚è‚Ü‚·B
‚ ‚êAcore.php ‚É‚Í‚à‚¤A‚ ‚ÌSecurity.level‚Æ‚©‚È‚­‚È‚Á‚Ă邼II

‚�}‚¿‚ç‚Ì‹LŽ–A”ñí‚É‹»–¡[‚­“Ç‚Ý‚Ü‚µ‚½B

‚ ‚©‚‚«‚̂�Nh
Security.level‚͂ǂ�}‚֏Á‚¦‚½HiCakePHP2Œn‚̘bj
http://norm-nois.com/blog/archives/2290

‚»‚¤‚È‚Ì‚©II
‚ŁA–{‘è‚Å‚·‚ªASecurityPlugin ‚ʼnº‹L‚̂悤‚ȃGƒ‰[‚ªo‚Ü‚µ‚½B
i‚¿‚È‚Ý‚ÉPostgreSQL‚Å‚·Bj
---------------------------------------
Database Error
Error: SQLSTATE[42601]: Syntax error: 7 ERROR: "validateSearch"‚Ü‚½‚Í‚»‚̋ߕӂō\•ï¿½ï¿½ƒGƒ‰[ LINE 1: validateSearch ^
SQL Query: validateSearch
Notice: If you want to customize this error message, create app\View\Errors\pdo_error.ctp
---------------------------------------
Cake‚Ì‹K–ñ‚ɏ]‚Á‚��‚Ȃ��ƒe[ƒuƒ‹‚ðŽg‚í‚È‚«‚á‚��‚¯‚Ȃ��‚©‚ç‚©‚ȁ[‚Æ‚©AFXl‚¦‚Ä‚µ‚Ü‚Á‚½‚Ì‚Å‚·‚ªAŒ‹‹Ç‚�}‚̌�Lˆö‚́AuSearchableBehavior.php‚ª³‚µ‚­“ǂݍž‚߂Ă��‚Ȃ��‚©‚çv‚Å‚µ‚½B

‚��‚ë‚��‚댩•Ô‚µ‚āAŒ‹‹ÇA
public $actsAs=array("Search.Searchable");
‚Æ‚Å‚Í‚È‚­A
public $actAs=array("Search.Searchable");
‚Ə‘‚��‚Ä‚ ‚é‚Ì‚É‹C‚ª‚‚��‚Ä’¼‚µ‚Ü‚µ‚½B

‚»‚µ‚½‚ç‚«‚¿‚ñ‚Æ“®‚«‚Ü‚µ‚½Bi‹ƒ
’p‚¸‚©‚µ‚È‚ª‚çƒhƒW‚è‚Ü‚µ‚½iŒÃ‚��‚ȁ\
posted by SDozono at 17:04| “Œ‹ž ☀| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

2013”N12ŒŽ03“ú

CakePHP 2.3.10‚Å”FØƒ`ƒ…[ƒgƒŠƒAƒ‹

2005A2006”N‚ ‚½‚è‚́ACakePHP‚ª‚¤‚Ԑº‚ðã‚��‚½‚�}‚ë‚ɂ͂��‚ë‚��‚늈“®‚µ‚��‚½“��‰€‚Å‚·B
cakephp.jp ‚𐮔õ‚µ‚½‚èAƒ}ƒjƒ…ƒAƒ‹‚ð‘‚ï¿½ï¿½‚½‚èAƒRƒ~ƒ…ƒjƒeƒB‚ð‚à‚è‚ ‚��‚½‚è‚ƐFX‚µ‚��‚½‚ȁ[B
¡‰ñA‹v‚µ‚Ô‚è‚ɐV‹KƒvƒƒWƒFƒNƒg‚ðCake‚ł‚­‚è‚͂��‚ß‚Ü‚µ‚½B

‚»‚ê‚قǍŐV‚Ì‚à‚Ì‚Å‚Í‚È‚­‚Ä‚æ‚��‚ƁA2.3.10‚ōì‚è‚͂��‚߂悤‚©‚ÆŽv‚Á‚½‚Ì‚Å‚·‚ªA‚¿‚å‚Á‚Æ‚Í‚Ü‚Á‚½‚̂ł�}‚�}‚ɏ‘‚��‚�N‚«‚Ü‚·B
CakePHP 2.X —p‚ɂ́Aƒ`ƒ…[ƒgƒŠƒAƒ‹F

"ƒVƒ“ƒvƒ‹‚È”FØ‚Ə³”F‚̃AƒvƒŠƒP[ƒVƒ‡ƒ“"
http://book.cakephp.org/2.0/ja/tutorials-and-examples/blog-auth-example/auth.html

‚ª‚ ‚è‚Ü‚·‚ªA‚�}‚ꂪ‚à‚¤2.4.X‚��‚á‚Ȃ��‚Æ“®ì‚µ‚Ȃ��ƒR[ƒh‚É‚È‚Á‚��‚Ü‚·B2.3.10‚ł�}‚̃`ƒ…[ƒgƒŠƒAƒ‹‚ð‚͂��‚ß‚½‚ç‚Í‚Ü‚è‚Ü‚µ‚½B

ƒ`ƒ…[ƒgƒŠƒAƒ‹‚ł́A
“ª‚Å

App::uses('SimplePasswordHasher', 'Controller/Component/Auth');

beforeSave()“à‚Å

$passwordHasher = new SimplePasswordHasher();
$this->data[$this->alias]['password'] = $passwordHasher->hash($this->data[$this->alias]['password']);

‚Æ‚È‚Á‚��‚Ü‚·‚ªA2.3.10‚ł͂�}‚�}‚ªA

$this->data[$this->alias]['password'] = AuthComponent::password($this->data[$this->alias]['password']);

‚Æ‚·‚é•K—v‚ª‚ ‚é‚炵‚��‚Å‚·B

posted by SDozono at 15:07| “Œ‹ž ☀| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

2013”N07ŒŽ29“ú

Telephone Marketing System build with CakePHP

ŠÈ’P‚ÉŽ©ŽÐ‚Ƀ}[ƒPƒeƒBƒ“ƒOEƒR[ƒ‹ƒZƒ“ƒ^[‚ð\’z‚Å‚«‚éƒpƒbƒP[ƒWƒVƒXƒeƒ€
http://www.fusioncom.co.jp/houjin/connect/outbound/

’ʏí‚Í”ñí‚ɍ‚‰¿‚Ȓʘ^ƒVƒXƒeƒ€‚àƒAƒCƒfƒA‚Å‘g‚ݍž‚ñ‚ł��‚é‚Ì‚ª–¡‘X‚Å‚·B
posted by SDozono at 10:14| “Œ‹ž 🌁| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é

2013”N01ŒŽ26“ú

ï¿½ï¿½‚݂̋ꂵ‚Ý

CakePHP 3.0‚ɂ‚��‚āA‚��‚ë‚��‚ë‚Ȉӌ©‚ª•¦“«’†B

3.0: a peek into CakePHP's future
http://bakery.cakephp.org/articles/lorenzo/2012/07/06/3_0_a_peek_into_cakephps_future
https://groups.google.com/d/topic/cake-php/-TLn6RpHt4U/discussion

XX‚Ý‚½‚��‚É‚µ‚Ȃ��‚Å‚­‚ê[‚Æ‚©Aƒ‚ƒfƒ‹‚̃f[ƒ^‚ªArrays‚��‚á‚È‚­‚È‚é‚Á‚Ä‘åä•vH‚Æ‚©APHP‚̃o[ƒWƒ‡ƒ“Žw’肪‚»‚ê‚ł��‚��‚́A‚Æ‚©FXFXB
ˆê‚‚̃^[ƒjƒ“ƒOƒ|ƒCƒ“ƒg‚Å‚Í‚ ‚è‚Ü‚·‚ˁB
¡Œã‚ª–Ê”’‚­‚È‚Á‚��‚Ü‚·B

posted by SDozono at 21:38| “Œ‹ž ☀| Comment(0) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é