In current project need to calc data stored in MongoDB with MapReduce algo in php Laravel (REST services). Ideas how to will publish here.
- map-reduce operation
- mapReduce prototype form
- table SQL to noSQl MongDB MapReduce
- Example1: Calculate RatingSnapshot and Total Quantity with Average Quantity Per Rating
- Example2: Calc num_ratings
- Example3: Places in each network
- Example4: Pivot Data with Map reduce
- php - MongoDB::command (Execute a database command) Examples
Тестовое задание на разработку Плагина новостей:
- создать программно post type
newspages
;
- создать собственный список новостей (список постов post type
newspages
) в админ части;
- возможность сортировать список по полям в хедере (title, date);
- удаление, редактирование новостей;
- добавить новые поля: комментарий админа (textarea) и альтернативный тайтл (input);
- сделать виждет с 3 последними новостями ;
- написать shortcode с последними 3 новостями ;
- все исходники плагина
Скачать ZIP архив плагина (версия 0.5)
Плагин установлен в моем бложике - см здесь
Building online school based on WP. I do understand how to go on with frameworks, but WP??? Analyzing articles and writing notes.
- WordPress vs MVC Frameworks
- Model of Site
- Users, Roles, and Capabilities
- Extending the WP_User Class
Couldnot answer such questions on an interview, cheat sheet is needed. The database s c h e m a with specific functions found to work with each table described with real world examples.
- wp_options
- wp_users
- wp_usermeta
- wp_posts
- wp_postmeta
- wp_comments
- wp_commentsmeta
- wp_terms, wp_term_taxonomy, wp_term_relationships
Столкнулся на собеседованиях с подобными вопросами, решил вспомнить все ;)
- Абстрактные классы
- Интерфейсы
- Отличия Абстрактные классы и Интерфейсы
- Трейты