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
- Zivtech: Yo! Drupaldelphia 2012, Zivtech Office Opening Party & Drupal Core Code Sprint! Come to Philly!Come join Zivtech and the rest of the Philadelphia Drupal community on June 22-23rd, for two action packed days of good programing, great beer/food/code, and even better people! Drupaldelphia--being held at Temple University School of Business' Alter Hall--is the Philadelphia version of Drupal Camp, and June 22nd will mark its fifth year! We're exp […]
- Randy Fay: Drupal Governance Working Group Update (Meeting this Tuesday 2012-05-29)GovernancePlanet DrupalDries, the leader of the Drupal project, has put his full weight behind the governance initiative, and we have a sprint planned for July 16-17, 2012 in Portland, Oregon, USA. (The sprint will be during OSCON and immediately following the Community Leadership Summit.) Dries, Angie Byron, Greg Dunlap (heyrocker), and I have committed to […]
- Drupal Association News: Developers needed - Help us make drupal.org awesome, improve Cod, and much moreThis summer the Drupal Association is tacklng a number of initiatives to make drupal.org awesome and to improve Cod for use at DrupalCon. To help complete these initiatives we're looking for a few good developers to jump in and help out. As an open source project there are many ways you can be a part of the team. Review the projects we're working o […]
- Appnovation Technologies: One Week Away! Drupal Business Summit and Drupal Camp VancouverWe're ONE WEEK away from the Drupal Business Summit and Drupal Camp events happening here in Vancouver on June 1 & 2! We here at Appnovation are excited, not only because we're gold sponsors of both events, but also because a few of our team members have been chosen to run sessions for Drupal Camp. Check out what our guys will be talking about: […]
- ThinkShout: MailChimp adds Mandrill Integration & Campaign Creation
- Aten Design Group: Denver Drupal Meetup Recap, May 2012This month's meetup proved a good reminder of times past. First, our network connection was pretty slow, reminding us all of the fun of dialup. Then, we had what I believe is our youngest meetup attendee ever, Marc's new baby. And in our main presentation, Maida walked us through her learning experience from first hearing of Drupal to launching pue […]
- Appnovation Technologies: Using Contexture links in Drupal 6 & 7One of the useful improvements in Drupal 7 is contextual links. It allows administrative users the ability to quickly perform tasks related to regions in the page. For example, when you hover your mouse over a block, links are displayed that allow you to click and go to the block configuration page without going through cumbersome Drupal administrative navig […]
- Drupal Watchdog: Big Performance Wins On The Front EndThe Drupal community has been concerned with the performance experienced by an end user for years. The amount of work put into working with reverse proxies, caching, CDNs, and other technologies is amazing. But, working with these technologies only touches on the serving half of the problem. A web server may serve pages in less than a half second but when th […]
- Matt Farina: Non-Blocking Loading Of 3rd Party Scripts In Drupal
- Appnovation Technologies: A trip to the Drupal Gardens Part 1Drupal Gardens offers an alternative to traditional Drupal installation. If you: Want a site on the fly and don't need a lot of code/module modifications Don't have a lot of experience in Drupal or any other CMS Don't have your own local hosting space/resources read more
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)