ASP.NET developers try to learn Drupal and PHP

I know ASP.NET C# very well. I did a lot of research and custom web applications.

I wandered around Drupal and figured out how I have had a lot of trouble when doing “special” programmatic operations (such as searching customer lists or creating web applications).

1 – I have been reading books and the drupal API but I am still starting to use anything Encountered a lot of trouble. Where is the custom code for pages, modules, and fragments? How to copy the form X I executed in ASP.NET to a new page in drupal? Wait. It is difficult for me to wrap my head around Drupal, it looks so large, easy and scalable, but it is also difficult to code me. You suggest ASP.NET application programmers to learn how to use/work in Drupal ?

2 – Sometimes we write complete ASP.NET applications for the client, and these applications will not be edited by the client. For example, we put the entire website in drupal, but in the website Internally, we will provide users with a place to use a special search database for information. We don’t want simple website editors and content providers to try to edit this specially coded page. How to deal with not wanting the client to edit any content in the Drupal application? Is it handled through page/user permissions? Is it the best thing to fully develop and host an application outside of drupal? Is a drupal application an instance of drupal inside a drupal website (nested drupals?)?

3 – Finally, how do I deal with the database? As far as I know, Drupal and PHP will work with MySQL. We have MS SQL database used by multiple applications, and we want to use them for new applications when we start using Drupal. For example, we have a Staff Directory, it provides ASP.NET reporting application, ASP.NET Staff Listing application, and want to create a new Drupal PHP application that also uses (and may insert/update more information) that database. What is the best/easiest way to use and update MS SQL database and/or MySQL database by multiple Drupal and ASP.NET applications? Is it easier to make all applications use MS SQL database, or for Drupal/PHP applications to replicate the database on MySQL and synchronize the two databases in some way?

If I ask multiple related questions in an article, I hope it’s ok.

First of all, I think it’s important to understand the limitations of Drupal. Some things are not really useful. It is a web application framework, but if you use your own custom data model and content for a lot of customization Define the job, Drupal may not be the most flexible or easiest solution to solve your problem. A more general framework like Zend Framework may be more suitable.

Learn an important lesson from Drupal Yes: Don’t crack the core or other modules. This will make upgrading the core or modules very time consuming. Instead, “like Drupal” and use hook overrides. In the theme you can also override with hooks, but you can also override them in other ways. Coverage is powerful, so it’s good to understand the concept.

>I will say, choose a way of learning, i.e. your style, screenshots, IRC, hacker, user gathering IRL, books, articles or whatever Combine and find materials on Drupal. Start tricking and feel how Drupal works. Understanding the jargon is an important part, so: nodes, blocks, regions, hooks, modules, themes.
> Drupal has a very flexible Permission system, it might be the best choice to use it instead of making your own. You can write your own modules to add or change Drupal’s behavior. So if you want to write a new application that works with Drupal, you can write A module to perform the functions that the application must have, and use all the functions provided by Drupal, including users, permission systems, etc. I really understand the last part of your second question “The drupal application is the drupal in the drupal website Examples (nested drupals?)?”. Drupal is a collection of PHP files on the server, which together with a large number of tables in the database provide requests to it. Multiple Drupal sites (such different PHP files) can refer to the same database or Part of the database (such as user tables). There is actually no “instance” of a Drupal website because it is not a real “application”. Of course I may be too unfamiliar with these terms, but I think PHP is not suitable for “applications” “Example”.
>This is a difficult question because Drupal cannot use MS SQL, so you may have to make any connections in this area yourself. I will also ask on the Drupal forum or IRC.

Good luck!

I know ASP.NET C# very well. I did a lot of research and custom web applications.

I wandered around Drupal And I had a lot of trouble finding out how to perform “special” programmatic operations (such as searching customer lists or creating web applications).

1 – I have been reading books and the drupal API but I am still starting I have a lot of trouble when using anything. Where is the custom code for pages, modules, and fragments? How to copy the form X I executed in ASP.NET to a new page in drupal? Wait. It is difficult for me to wrap my head around Drupal, it looks so large, easy and scalable, but it is also difficult to code me. You suggest ASP.NET application programmers to learn how to use/work in Drupal ?

2 – Sometimes we write complete ASP.NET applications for the client, and these applications will not be edited by the client. For example, we put the entire website in drupal, but in the website Internally, we will provide users with a place to use a special search database for information. We don’t want simple website editors and content providers to try to edit this specially coded page. How to deal with not wanting the client to edit any content in the Drupal application? Is it handled through page/user permissions? Is it the best thing to fully develop and host an application outside of drupal? Is a drupal application an instance of drupal inside a drupal website (nested drupals?)?

3 – Finally, how do I deal with the database? As far as I know, Drupal and PHP will work with MySQL. We have MS SQL database used by multiple applications, and we want to use them for new applications when we start using Drupal. For example, we have a Staff Directory, it provides ASP.NET reporting application, ASP.NET Staff Listing application, and want to create a new Drupal PHP application that also uses (and may insert/update more information) that database. What is the best/easiest way to use and update MS SQL database and/or MySQL database by multiple Drupal and ASP.NET applications? Is it easier to make all applications use MS SQL database, or for Drupal/PHP applications to replicate the database on MySQL and synchronize the two databases in some way?

If I ask multiple related questions in an article, I hope it’s ok.

First of all, I think I understand Drupal How important the limitations are, some things are not really useful. It is a web application framework, but if you use your own custom data model and content for a lot of customization work, Drupal may not be the best solution to your problem. Flexible or easiest solution to implement. A more general framework like Zend Framework may be more suitable.

An important lesson in learning Drupal is: don’t hack the core or other modules. This will enable Upgrading the core or modules is very time consuming. Instead “like Drupal” and use hook overrides. In the theme you can also use hooks, but you can also override them in other ways. Overrides are powerful, so it’s good to understand the concept.

> I would say, choose a way of learning, that is, your style, screenshots, IRC, hackers, user gathering IRL, books, articles or any combination, and look for materials on Drupal. Start tricking, Feel how Drupal works. Understanding the jargon is an important part, so: nodes, blocks, areas, hooks, modules, themes.
> Drupal has a very flexible permission system, it may use it instead of making its own The best choice. You can write your own module to add or change the behavior of Drupal. Therefore, if you want to write a new application that works with Drupal, you can write a module to perform the functions that the application must have, and Use all the features provided by Drupal, including users, permission systems, etc. I really understand the last part of your second question “A drupal application is a drupal instance (nested drupals?) in a drupal website?”. Drupal is A collection of PHP files on the server, which together with a large number of tables in the database provide requests for it. Multiple Drupal websites (such different PHP files) can refer to the same database or part of the database (such as user tables). In fact, there is no The “instance” of the Drupal website, because it is not really an “application”. Of course I may be too unfamiliar with these terms, but I don’t think PHP is suitable for the “instance” of an “application”.
>This is A difficult question, because Drupal cannot use MS SQL, so you may have to make any connections in this area yourself. I will also ask on Drupal forums or IRC.

Good luck!

Leave a Comment

Your email address will not be published.