tags's Introduction
tags's People
Forkers
onasuswebtags's Issues
Transaction処理について
Tag補完がうごかなくなってる?
CakePHP2.7以上への対応
composer.json修正
notEmptyからnotBlankへ
参考
https://github.com/NetCommons3/Users/blob/master/composer.json#L21
afterFindの取得とrecursiveの連動
カンマ区切り入力にする
「タグはカンマで区切って入力してください」の注釈もつける
composer.json整理
- require-devを削除してrequireは直接使ってるものだけ
- UnitTestでだけ使ってるモノはrequire-dev
-- 他のプラグインのFixture,Modelとかを使ってる場合
検索で同じコンテンツが重複してヒットすることがある。
再生条件。
- 1コンテンツに複数のタグが関連付いている
- 関連づいた複数のタグがヒットする検索条件でFindする。
コンテンツをgroup byしてないのが原因で発生している。(タグIdでの検索を想定してたので、group byしてなかった)
不要コード削除
tags_contentsでなぜかint(45)なんてのがある
int(11)になおす
afterFindでの取得処理
現在、取得した$results毎に、Tagモデルのfindしてますが、$resultsの件数によっては重たくなる気がします。
IN句でまとめた方が、良いと思いますが、マージ処理が厄介な感じです。
キャッシュの利用とかですかね。。。
とりあえず、現状のまま、その他意見を待ちます。
編集時にタグが反映されない
念のため報告。
afterSave()時に編集時の処理がまだないため。
https://github.com/NetCommons3/Tags/blob/master/Model/Behavior/TagBehavior.php#L56
setDataSource不要になったので排除
master/slaveの一括切り替えが実装されたそうなので、個別にmasterに切り替える処理は不要になった。
削除する
Jsファイルminify対策
登録時に同じタグが登録できる
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.