問題タブ [zend-framework-modules]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
3 に答える
5777 参照

zend-framework2 - ZF2 無効な工場が登録されました

ZF2 アプリケーションに次のクラスとモジュール構成があり、以下のエラーが発生しています。

UserFormFactory.php

ユーザーフォーム.php

Module.config.php

そして、このフォーム ファクトリを別のコントローラ ファクトリで使用しています

UserControllerFactory.php

何が問題なのか誰か教えてもらえますか?

0 投票する
1 に答える
48 参照

zend-framework - ZF2 でのより大きなプロジェクトの編成

Facebookに似た組織サイトについてアドバイスをお願いします。このタイプのサイトのモジュールを整理する方法がわかりません。

私の考えは、次のモジュールを実行することです。

  1. 認証モジュール('ユーザー ログイン、登録、記憶、パスワードの再設定、ログアウト)

  2. プロフィール モジュール(追加 / 編集 / プロフィールとカバー画像、投稿、情報を表示)

  3. ウォール モジュール(FB としてのホームページの壁、ステータスの更新の表示、いいね、追加

4.アップロードモジュール(画像、動画のアップロード)

5.グループモジュール(グループの追加、編集、削除)

これでいいですか?あなたの例をいくつか教えてください。

0 投票する
1 に答える
229 参照

zend-framework - How to override controllers in Pimcore plugins

In one of my projects, i have a third party plugin installed. Plugins are, from my understanding, a regular module in the Zend Framework sense (framework version 1.12 in this case).

Is there a way override the controllers shipped with the plugin with my own implementation without changing the module itself? I was think of something like "Check for a controller from a certain namespace first; if it doesn't exist, fall back to the one from the module".

What i am ultimately trying to achieve is to extend the module in a "hidden" or transparent way, so that i do not have to change the default routing, and the application will still look and work the same from a users perspective.

If thats not possible, what is best practice to extend a Pimcore plugin or a Zend Module in general?