Javascript/PHP continuous integration, testing, deployment -
i building web application in javascript php/mysql backend. entire ui javascript based, except index.php contains few php lines. out of that, works ajax calls. have php backend answering ajax calls json.
i have few questions on how create "clean" deployment process. process should contain:
- ci running javascript & php unit tests, backend json tests
- js compression
- deployment test server
- ui/acceptance testing
- eventual deployment prod server
what tools should use that? see many ci servers, 1 can javascript testing , compression , php unit testing?
how can staging in javascript , php? don't want javascript on test instance connect prod backend, neither test backend connect prod database. how should implement switch ?
moreover, would better if split project in 2 parts - front-end , back-end or ok deploy/test whole javascript/php thing 1 package?
thank lot help
you can ci of heterogeneous projects using jenkins aside of unit tests can set there coverage, mess detection , selenium simple plugins. can simple deployment using version control software don't hardcode javascript urls , dont user absolute urls. instead base your config on environmental variables on staging , production. ide's phpstorm have deployment systems if interested in more advanced.
Comments
Post a Comment