Giter Site home page Giter Site logo

Comments (7)

mattwelke avatar mattwelke commented on May 22, 2024 1

Funny you mention that. Another thing I was thinking about was this:

This book is tiny. It doesn't expand on many non-MVC features. It's only what you need to get things running basically. And I love that. I think that to try to expand this book to include everything every developer reading it can think of would ruin that experience. It does only one thing, but it does it really well, and I'd like to see it stay that way.

Perhaps it would be worth creating more books which continue the tutorial completed in the book with their own themes. We could have:

  • The Little ASP.NET Core AJAX Book (Start from the finished tutorial in the original book, and add AJAX features)
  • The Little ASP.NET Core SPA Book (Start from the finished tutorial in the original book, and convert it to an SPA with whichever set of RESTful routes etc would be needed)

The community would have an opportunity to explore these other ideas without ruining the quick and effective style of the original book.

from little-aspnetcore-book.

mattwelke avatar mattwelke commented on May 22, 2024

Many people consider MPAs (multi-page applications) with AJAX for a few features to be a good alternative to SPAs when you don't need (or can't allow) everything to live in the browser. Showing how to implement a few controller actions to do this probably deserves mention in a "more features" section. However, I agree that it shouldn't be mixed with the core stuff. Perhaps both AJAXifying and doing an SPA both deserve their own sections in multiple "more features" type sections.

from little-aspnetcore-book.

nbarbettini avatar nbarbettini commented on May 22, 2024

Perhaps both AJAXifying and doing an SPA both deserve their own sections in multiple "more features" type sections.

I definitely went back and forth on this while writing the initial version. It feels like Razor, AJAX, and full-blown SPA could each deserve their own fork of the book. 😄

from little-aspnetcore-book.

nbarbettini avatar nbarbettini commented on May 22, 2024

Yep, that's exactly what I was thinking. I really like the size and scope of this little book. The Little ASP.NET Core Book could be a great starting point for:

  • The Little ASP.NET Core REST API Book
  • The Little ASP.NET Core + Angular Book
  • The Little ASP.NET Core + React Book
  • (A Little More) Advanced ASP.NET Core MVC

The "only" thing that needs to be done is write them.

from little-aspnetcore-book.

sadqiang avatar sadqiang commented on May 22, 2024

It is much better if "Add More Features" section discusses CRUD operations that are usually generated by scaffolding including explanation about HttpPost/HttpGet attributes, Post-Redirect-Get pattern, etc.

from little-aspnetcore-book.

nbarbettini avatar nbarbettini commented on May 22, 2024

@sadqiang I agree. In the next update I'm going to rewrite this section and get rid of the AJAX stuff.

from little-aspnetcore-book.

nbarbettini avatar nbarbettini commented on May 22, 2024

Resolved via d1a2086

from little-aspnetcore-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.