Drupal được thiết kế theo mô hình MVC tuy nhiên chưa thật rõ lắm giữa controller mà model. Saiiiiiiiii
View: Theme
Controller: bootstrap( bao gồm hook)
Model: module
Drupal Plant
- Drupalcon: Create a Personalized Schedule for DrupalConWe’ve launched a new feature to help you plan your days at DrupalCon Denver. It’s simple to use, just log into your Drupal.org account (the one you used to register for DrupalCon) and then visit the Schedule page. There, you will find a list of DrupalCon events organized by day and time. Click on the title of each separate event listing, and conveniently loc […]
- EchoDitto Tech Blog: Introducing the Backbone Module for Drupal
- Drupal Association News: Global Drupal Days on Friday, February 24This Friday, February 24, 2012 many of our community leaders are hosting low-cost or free Drupal Trainings through a new initiative we are forming called Drupal Days. While the Drupal Association will officially launch its Drupal Days program in June, 2012, the Drupal Association is very pleased and encouraged to see trainings taking place this week all over […]
- LevelTen Interactive: Just Released: 5 New Drupal Apps for Open EntepriseMaking Drupal more accessible is a never ending quest - but we just hit a big milestone. Just released: five new Drupal apps for Open Enterprise covering some of the most requested features from our clients. These new apps join the existing apps such as the blog to give site builders the essential recipes many sites need in a handy one click plug-n-play apps […]
- Metal Toad: Using the Drupal Batch APIRecently I was working on a site for a library that had a lot of data that needed to be imported into Drupal as nodes. Each book title, e-book, DVD, etc. needed to be a node inside of their Drupal 7 website. Not only that, but the database that held this data would add new records and occasionally update and remove existing ones. This meant about 300,000 - 4 […]
- Dries Buytaert: Jennifer HodgdonAs the Documentation Team lead, Jennifer "jhodgdon" Hodgdon has done a fantastic job of not only keeping Drupal core's API documentation high-quality and consistent, but also of on-boarding new Drupal core contributors through the "Novice" issue queue. Since documentation improvement patches are always welcome, and since they are unl […]
- Krimson: Display Suite: UX and HTML5So, you’re a site builder and you want to manage the layout of a node, form, search result,... then Display Suite is a fantastic tool to get the job done through the user interface. Thus avoiding extra coding. As with other great Drupal modules Display Suite started out as a small project. Over the course of a few years, Display Suite became a powerful and w […]
- groups.drupal.org frontpage posts: Blue Drop Awards offers a unique marketing opportunity for DrupalWe are inviting YOU, The Drupal Community, to join us for the first ever Blue Drop Awards! LEARN MORE & NOMINATE YOUR FAVORITE DRUPAL SITE: www.bluedropawards.org As Drupal grows, it is important to recognize the innovative people and companies driving our success and to promote Drupal to the world beyond the community. While the Drupal software has won […]
- Deeson Group: Trigger Drupal managed AJAX calls at any time with Drupal 7
- Cafuego: Drupal Downunder Video
hieu chet lien
Tui viết tui hiểu, ai mượn vào đọc. Ko hiểu thì biến
Ủa? Blog của tui, tui viết tui hiểu. AI mượn vào đọc ko hiểu thì thôi. Người đâu vớ vẩn thế!
nóng tính thế! hiểu chết liền =)) =)).
Theo tôi hiểu thì nó là khác cơ =))
cụ thể là view: theme, css, tpl. Controller: hooks, path. Model (thao tác database), module nó chứa cả hook cả theme =)) viết thế hiểu chết liền
Tiện đây người cho tôi hỏi cái: MVC trong drupal cụ thể là
View: theme
Controller:hooks
Model: các file.module
1. Vậy khi 1 HTTP request gửi đến thằng view thằng view, thằng controller sẽ đưa thông báo cho thằng model xử lý và khi xong rồi thì thằng view sẽ lấy data từ thằng model xử lý và hiển thị ra. vậy cơ chế lấy dữ liệu thông qua thành phần gì?
2. Lúc một HTTP request gửi yêu cầu. Thì làm sao biết được module nào sẽ được gọi và hook nào sẽ làm việc. Có phải thông qua query_cript? không
ví dụ cụ thể như đăng nhập: sau khi gõ username, password và nhấn enter thì làm sao mà module đăng nhập biết mà hoạt động ? trong khi có nhiều submit?
Bạn giải thích hộ tôi với. Tôi đang nghĩ mãi không ra được. Hihi thanks nhá(tôi gà gà mong bạn chỉ giúp)