Code Monkey home page Code Monkey logo

xpf's Introduction

XNA Presentation Framework

A layout framework for XNA on Windows & Windows Phone 7 from Red Badger Consulting. Inspiration is drawn from the WPF and Silverlight XAML stacks, Reactive Extensions is used to keep things nice and fast.

Getting started

Getting started with Git and GitHub

  • People new to GitHub should consider using GitHub for Windows.
  • If you decide not to use GHFW you will need to:
  1. Set up Git and connect to GitHub
  2. Fork the XPF repository

Once you're familiar with Git and GitHub, clone the repository and run the .\build.cmd script to compile the code and run all the unit tests. You can use this script to test your changes quickly.

Rules for Our Git Repository

  • We use "A successful Git branching model". What this means is that:
    • You need to branch off of the develop branch when creating new features or non-critical bug fixes.
    • Each logical unit of work must come from a single and unique branch:
      • A logical unit of work could be a set of related bugs or a feature.
      • You should wait for us to accept the pull request (or you can cancel it) before commiting to that branch again.
  • Your code must attain a complete pass StyleCop before submitting a pull request.
  • You must write a MSpec specification for your code with at least 90% coverage. One of the following tools can make this simpler:
    • NCrunch - a commercial product that is currently free. Some tests spontaneously fail, possibly due to threading subtleties, re-running the tests a few times usually shows you exactly what is passing. Alternatively confirm the results using the MSpec executable.
    • ReSharper - a commercial product that can be extended with MSpec functionality.
    • The MSpec executable in the repository.
    • The .\build.cmd will also run MSpec after a build. The resulting HTML file will be placed into the output Bin directory.
  • A license header on each source file.

Apart from the branching model and code coverage, running the .\build.cmd with 'zero-red' means you can do a pull request.

Getting Involved

We will be using pull requests to vet potential contributors; please do not ask for push rights - we will approach you if we feel that you can be trusted with them.

License

XPF uses the MIT license, which can be found in license.markdown. The gist of the MIT license is that you can use XPF in your closed-source projects, without any encumberances from us. You can freely compile this code and distribute it to customers (whether they are on XBox, Windows, Windows Phone, Linux or Mac) without having to publish your source code anywhere.

Additional Restrictions

  • We only accept code that is compatible with the MIT license (essentially, BSD and Public Domain).
  • Copying copy-left (GPL-style) code is strictly forbidden.
  • The MIT license must be prepended to each source code file as a code comment.
  • You are not allowed to copy dissasembled Microsoft WPF or Silverlight code (closed-source/proprietary) into the repository.
  • You are not allowed to copy original Mono Moonlight code (LGPL) into the repository.

xpf's People

Contributors

codedjinn avatar stuartharris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xpf's Issues

Software requirements for developer machines

It would be useful to list the software requirements for developer machines in the readme, for those who wish to contribute. I haven't been able to get XPF.sln to build, on Windows 7 / 8, or Visual Studio 2010 / 2012. I assume it's because I don't have the right combination of Windows Phone SDKs, etc.

By the way, what is XPF.local.sln?

(Once I get the solution building, I plan to contribute a RedBadger.Xpf.Adapters.MonoGame adapter, which will simply link in the Xna adapter files and reference the MonoGame assembly.)

Publish NuGet package

I see that you've already got the .nuspec files ready, and support in the build file for building NuGet packages. Please could you publish these packages to NuGet?

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.