Coffeehouse Thread

41 posts

WebMatrix released

Back to Forum: Coffeehouse
  • User profile image
    TommyCarlier

    @Bas: The razor syntax does not work with PHP. What made you think it would?

  • User profile image
    Bas

    Because it's being touted as one of the big easy features, along with the fact that it supports open source engines. I figured major features wouldn't be mutually exclusive.

    But, I don't get it. If there's no razor syntax or other .NET goodness when using PHP engines, why would one use WebMatrix for Wordpress and Drupal and such?

  • User profile image
    CKurt

    @Bas: Because some of those Wordpress or Drupal stuff are hard to install (for novice users) and Webmatrix takes care of that and dependencies.

    Also, Webmatrix is a pretty good editor itself. I've used notepad++ or editplus for most of my php development. And I think the WebMatrix editor feels more modern to code in.

  • User profile image
    Dr Herbie

    @CKurt:  Does WebMatrix have intellisense for PHP?

    Herbie

  • User profile image
    CKurt

    @Dr Herbie: The last time I tested it did not have intellisense at all but they talked about bringing it.

    EDIT: just tested it. It does not have intellisence for php but does recognize the function names. It collors mysql_query and does not mysql_bla so that is nice. Intellisense must be bit harder than making a file summerizing all function.

  • User profile image
    Dr Herbie

    @CKurt: Thanks for that -- I keep meaning to learn PHP, but I want a good editor before I start making the time investment (as a good editor with intellisense would speed up my learning curve).

    Hebrie

  • User profile image
    CKurt

    @Dr Herbie: Don't learn PHP, one you get the hang of it you will hate many of the OO restrictions it has if you allready know a decent OO language. (Even though PHP 6 seems to have improved a bit, but OO was only added in PHP5 so it has many strange stuff left. It's like java generics, it works but ones you try strange stuff it failes.

    I would say learn RAZOR first in Webmatrix and than and MVC3.

     

  • User profile image
    Dr Herbie

    @CKurt: I have already done some ASP MVC, but I'd like to be able to know my way around some of the PHP systems out there.

    Herbie

  • User profile image
    W3bbo

    , Dr Herbie wrote

    @CKurt: Thanks for that -- I keep meaning to learn PHP, but I want a good editor before I start making the time investment (as a good editor with intellisense would speed up my learning curve).

    Hebrie

    I use VS.php, it's a third-party add-in for VS (2005, 2008, and 2010) that supports PHP. For the most part it's good, but there are a few things which it does that aren't entirely consistent with VS (the intellisense window has slightly different behaviour, for example). Debugging's great though... if you can get it to work.

  • User profile image
    Bass

    , Dr Herbie wrote

    @CKurt: Thanks for that -- I keep meaning to learn PHP, but I want a good editor before I start making the time investment (as a good editor with intellisense would speed up my learning curve).

    Hebrie

    They compare a bunch of PHP IDEs here:

    http://www.ibm.com/developerworks/opensource/library/os-php-ide/index.html

  • User profile image
    Bass

    , CKurt wrote

    @Bas: Because some of those Wordpress or Drupal stuff are hard to install (for novice users) and Webmatrix takes care of that and dependencies.

    Also, Webmatrix is a pretty good editor itself. I've used notepad++ or editplus for most of my php development. And I think the WebMatrix editor feels more modern to code in.

    I noticed though, WebMatrix did not install MySQL for me. Perhaps because it detected that I already had MySQL installed? Nevertheless, I had to go into services to run own MySQL manually, which is probably something a novice user wouldn't think of doing.

  • User profile image
    magicalclick

    , Bass wrote

    *snip*

    I noticed though, WebMatrix did not install MySQL for me. Perhaps because it detected that I already had MySQL installed? Nevertheless, I had to go into services to run own MySQL manually, which is probably something a novice user wouldn't think of doing.

    Hummm.... MySQL is not a MS product and WebMatrix is a MS product.

    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • User profile image
    Bas

    @Bass: that's weird. You're right, with all the "figuring out what you need and making sure you have it" stuff going on it might as wel start the service too. Did you report this on Connect?

  • User profile image
    Bass

    , magicalclick wrote

    *snip*

    Hummm.... MySQL is not a MS product and WebMatrix is a MS product.

    Very observant.

  • User profile image
    Bass

    , Bas wrote

    @Bass: that's weird. You're right, with all the "figuring out what you need and making sure you have it" stuff going on it might as wel start the service too. Did you report this on Connect?

    I did not see any way to submit a bug report on that website.

  • User profile image
    Human​Compiler

    @Bass:Go here and click on the Submit Feedback button.

    All, if you have any questions about ASP.NET Web Pages or Razor (or even WebMatrix), let me know.  I'm the PM for Web Pages and Razor.  Happy to answer Niners.  Smiley

  • User profile image
    exoteric

    This tool is definitely nice to use. I'll be using it to create a new spare-time site project. The most visible thing missing is Intellisense but it's still a very attractive and it takes zero time to push out a databound site with this thing.

  • User profile image
    exoteric

    A small experience report.

    I've been using Web Matrix for a pro bono project and for this kind of small web site that needs a little bit of dynamics it's very well suited. It's extremely fast to get a data-driven site up and running with beautiful razor syntax and layout templates.

    The biggest downside I've seen so far is the very primitive database support; there are arbitrary restrictions that make the GUI management of the database schema very prohibitive and counter-productive. Simple things like renaming columns and deleting colums with relations or adding columns with non-nullability is often not possible.

    The second downside is the lack of Intellisense.

    But apart from that it's a very nice productive tool for light-weight tasks. It's taken a few hours to setup an existing site with a layout template and a few more hours to get a basic database schema and order management system going. So 1-2 days worth of work is not bad for a dynamic website I think. A weekend's worth of work and it's done.

    The DB schema admin. is very annoyingly restrictive though. T-SQL is more useful here.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.