Giter Site home page Giter Site logo

Refactor Home/Index about compilify HOT 4 CLOSED

jrusbatch avatar jrusbatch commented on September 28, 2024
Refactor Home/Index

from compilify.

Comments (4)

khalidabuhakmeh avatar khalidabuhakmeh commented on September 28, 2024

I think that's a good idea. +1

possible refactored controllers:

  • Posts (Index, Show, Latest, Save, Validate)
  • Snippets (library of packaged samples, including the default person one)
  • Home / Marketing ( About, Wiki, Limitations, etc...)

from compilify.

jrusbatch avatar jrusbatch commented on September 28, 2024

I've thought about moving methods related to the Post class into an ApiController. Still undecided on that, though.

What about making the default example an entry in the DB, and then specify its slug via the web.config? If no default slug is specified, leave the editors blank? I'm not sure the interface is intuitive enough for that, though.

from compilify.

khalidabuhakmeh avatar khalidabuhakmeh commented on September 28, 2024

If there is going to be a set of examples in the database, we could just pick one at random. That would help people see what's possible. You could also tie that into a random snippet button.

The random snippet button will find you a random public snippet and load it.

from compilify.

jrusbatch avatar jrusbatch commented on September 28, 2024

That's possible. I don't want to put too much effort into producing examples on page load... I'd rather not need examples to demonstrate how it works.

from compilify.

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.