Default.migrated是什么公用文件夹共享是什么,Default.migrated公用文件夹共享是什么有什么用

laravel5+angularjs使用教程详解
最近在看laravel+angularjs,看到一篇感觉很好的老外的,翻译一下,略有改动,废话不多讲直接开始
①创建Laravel 5的应用
composer create-project laravel/laravel jiagou
composer 安装被墙怎么办
可以解决了composer安装不上的问题
②创建migrations数据库
应用根目录下有.env的文件,打开这个文件
DB_HOST=localhost
DB_DATABASE=jiagou
DB_USERNAME=root
DB_PASSWORD=
修改数据库配置项
然后创建jiagou的数据库,我是phpmyadmin的创建
打开DOS进入项目的目录,执行
php artisan migrate:install
Migration table created successfully
php artisan make:migration create_employees_table
Created migration: _054623_create_employees_table
/database/migrations/_054623_create_employees_table.php
use Illuminate\Database\Schema\B
use Illuminate\Database\Migrations\M
class CreateEmployeesTable extends Migration
* Run the migrations.
* @return void
public function up()
Schema::create('employees', function (Blueprint $table) {
$table-&increments('id');
$table-&string('name')-&unique();
$table-&string('email')-&unique();
$table-&string('contact_number');
$table-&string('position');
$table-&timestamps();
* Reverse the migrations.
* @return void
public function down()
Schema::drop('employees');
然后在DOS执行
php artisan migrate
Migrated: _000000_create_users_table
Migrated: _100000_create_password_resets_table
Migrated: _054623_create_employees_table
③REST API
php artisan make:controller Employees
Controller created successfully.
php artisan make:model Employee
Model created successfully.
打开文件/app/Employee.php,这个Model文件,文件放这里感觉不好,可以移动这个文件
namespace A
use Illuminate\Database\Eloquent\M
class Employee extends Model
protected $fillable = array('id', 'name', 'email','contact_number','position');
打开文件/app/Http/Controllers/Employees.php,这个是控制器
namespace App\Http\C
use Illuminate\Http\R
use App\Http\R
use App\Http\Controllers\C
class Employees extends Controller
* Display a listing of the resource.
* @return Response
public function index($id = null) {
if ($id == null) {
return Employee::orderBy('id', 'asc')-&get();
return $this-&show($id);
* Store a newly created resource in storage.
* @return Response
public function store(Request $request) {
$employee = new E
$employee-&name = $request-&input('name');
$employee-&email = $request-&input('email');
$employee-&contact_number = $request-&input('contact_number');
$employee-&position = $request-&input('position');
$employee-&save();
return 'Employee record successfully created with id ' . $employee-&
* Display the specified resource.
* @return Response
public function show($id) {
return Employee::find($id);
* Update the specified resource in storage.
* @return Response
public function update(Request $request, $id) {
$employee = Employee::find($id);
$employee-&name = $request-&input('name');
$employee-&email = $request-&input('email');
$employee-&contact_number = $request-&input('contact_number');
$employee-&position = $request-&input('position');
$employee-&save();
return "Sucess updating user #" . $employee-&
* Remove the specified resource from storage.
* @return Response
public function destroy($id) {
$employee = Employee::find($id);
$employee-&delete();
return "Employee record successfully deleted #" . $request-&input('id');
打开文件/app/Http/routes.php,这个是路由文件
Route::get('/', function () {
return view('index');
Route::get('/api/v1/employees/{id?}', 'Employees@index');
Route::post('/api/v1/employees', 'Employees@store');
Route::post('/api/v1/employees/{id}', 'Employees@update');
Route::delete('/api/v1/employees/{id}', 'Employees@destroy');
④使用AngularJS
创建/public/app/app.js
var app = angular.module('employeeRecords', [])
.constant('API_URL', '/api/v1/');
我的指向的是项目里根目录下的public文件夹
创建/public/app/controllers/employees.js,这个文件是AngularJS控制器
app.controller('employeesController', function($scope, $http, API_URL) {
//retrieve employees listing from API
$http.get(API_URL + "employees")
.success(function(response) {
$scope.employees =
//show modal form
$scope.toggle = function(modalstate, id) {
$scope.modalstate =
switch (modalstate) {
case 'add':
$scope.form_title = "Add New Employee";
case 'edit':
$scope.form_title = "Employee Detail";
$scope.id =
$http.get(API_URL + 'employees/' + id)
.success(function(response) {
console.log(response);
$scope.employee =
console.log(id);
$('#myModal').modal('show');
//save new record / update existing record
$scope.save = function(modalstate, id) {
var url = API_URL + "employees";
//append employee id to the URL if the form is in edit mode
if (modalstate === 'edit'){
url += "/" +
method: 'POST',
data: $.param($scope.employee),
headers: {'Content-Type': 'application/x-www-form-urlencoded'}
}).success(function(response) {
console.log(response);
location.reload();
}).error(function(response) {
console.log(response);
alert('This is embarassing. An error has occured. Please check the log for details');
//delete record
$scope.confirmDelete = function(id) {
var isConfirmDelete = confirm('Are you sure you want this record?');
if (isConfirmDelete) {
method: 'DELETE',
url: API_URL + 'employees/' + id
success(function(data) {
console.log(data);
location.reload();
error(function(data) {
console.log(data);
alert('Unable to delete');
创建模板文件
/resources/views/index.php
&!DOCTYPE html&
&html lang="en-US" ng-app="employeeRecords"&
&title&Laravel 5 AngularJS CRUD Example&/title&
&!-- Load Bootstrap CSS --&
&link href="&?= asset('css/bootstrap.min.css') ?&" rel="stylesheet"&
&h2&Employees Database&/h2&
ng-controller="employeesController"&
&!-- Table-to-load-the-data Part --&
&table class="table"&
&th&ID&/th&
&th&Name&/th&
&th&Email&/th&
&th&Contact No&/th&
&th&Position&/th&
&th&&button id="btn-add" class="btn btn-primary btn-xs" ng-click="toggle('add', 0)"&Add New Employee&/button&&/th&
&tr ng-repeat="employee in employees"&
employee.id }}&/td&
&td&{{ employee.name }}&/td&
&td&{{ employee.email }}&/td&
&td&{{ employee.contact_number }}&/td&
&td&{{ employee.position }}&/td&
&button class="btn btn-default btn-xs btn-detail" ng-click="toggle('edit', employee.id)"&Edit&/button&
&button class="btn btn-danger btn-xs btn-delete" ng-click="confirmDelete(employee.id)"&Delete&/button&
&!-- End of Table-to-load-the-data Part --&
&!-- Modal (Pop up when detail button clicked) --&
&div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&
&div class="modal-dialog"&
&div class="modal-content"&
&div class="modal-header"&
&button type="button" class="close" data-dismiss="modal" aria-label="Close"&&span aria-hidden="true"&×&/span&&/button&
&h4 class="modal-title" id="myModalLabel"&{{form_title}}&/h4&
&div class="modal-body"&
&form name="frmEmployees" class="form-horizontal" novalidate=""&
&div class="form-group error"&
&label for="inputEmail3" class="col-sm-3 control-label"&Name&/label&
&div class="col-sm-9"&
&input type="text" class="form-control has-error" id="name" name="name" placeholder="Fullname" value="{{name}}"
ng-model="employee.name" ng-required="true"&
&span class="help-inline"
ng-show="frmEmployees.name.$invalid && frmEmployees.name.$touched"&Name field is required&/span&
&div class="form-group"&
&label for="inputEmail3" class="col-sm-3 control-label"&Email&/label&
&div class="col-sm-9"&
&input type="email" class="form-control" id="email" name="email" placeholder="Email Address" value="{{email}}"
ng-model="employee.email" ng-required="true"&
&span class="help-inline"
ng-show="frmEmployees.email.$invalid && frmEmployees.email.$touched"&Valid Email field is required&/span&
&div class="form-group"&
&label for="inputEmail3" class="col-sm-3 control-label"&Contact Number&/label&
&div class="col-sm-9"&
&input type="text" class="form-control" id="contact_number" name="contact_number" placeholder="Contact Number" value="{{contact_number}}"
ng-model="employee.contact_number" ng-required="true"&
&span class="help-inline"
ng-show="frmEmployees.contact_number.$invalid && frmEmployees.contact_number.$touched"&Contact number field is required&/span&
&div class="form-group"&
&label for="inputEmail3" class="col-sm-3 control-label"&Position&/label&
&div class="col-sm-9"&
&input type="text" class="form-control" id="position" name="position" placeholder="Position" value="{{position}}"
ng-model="employee.position" ng-required="true"&
&span class="help-inline"
ng-show="frmEmployees.position.$invalid && frmEmployees.position.$touched"&Position field is required&/span&
&div class="modal-footer"&
&button type="button" class="btn btn-primary" id="btn-save" ng-click="save(modalstate, id)" ng-disabled="frmEmployees.$invalid"&Save changes&/button&
&!-- Load Javascript Libraries (AngularJS, JQuery, Bootstrap) --&
&script src="&?= asset('app/lib/angular/angular.min.js') ?&"&&/script&
&script src="&?= asset('js/jquery.min.js') ?&"&&/script&
&script src="&?= asset('js/bootstrap.min.js') ?&"&&/script&
&!-- AngularJS Application Scripts --&
&script src="&?= asset('app/app.js') ?&"&&/script&
&script src="&?= asset('app/controllers/employees.js') ?&"&&/script&
模板里要加载几个js和css,看一下截图
网上找一下bootstrap+jquery+angularjs,下载一下放到目录里
完成了,现在看一下效果图Cisco Identity Services Engine, Release 1.3 Migration Tool Guide
- Data Structure
Mapping [Cisco Identity Services Engine] - Cisco
Cisco Identity Services Engine, Release 1.3 Migration Tool Guide
Book Contents
Book Contents
Available Languages
Download Options
Book Title
Cisco Identity Services Engine, Release 1.3 Migration Tool Guide
Chapter Title
Data Structure
View with Adobe Reader on a variety of devices
Chapter: Data Structure
Chapter Contents
Data Structure
This appendix provides information about the data objects that are migrated, partially migrated, and not migrated from Cisco Secure ACS, Release 5.5 or 5.6
to Cisco ISE, Release
Data Structure
Data structure mapping
from Cisco Secure ACS,
Release 5.5 or
5.6 to Cisco ISE, Release
1.4, is the process by which data objects are analyzed
and validated in the migration tool during the export phase.
Migrated Data
The following data objects are migrated from Cisco Secure ACS to Cisco ISE:
Network device group (NDG) types and hierarchies
Network devices
Default network device
External RADIUS servers
Identity groups
Internal users
Internal endpoints (hosts)
Lightweight Directory Access Protocol (LDAP)
Microsoft Active Directory (AD)
(Partial support, see Table A-19)
RADIUS token
(See Table A-18)
Certificate authentication profiles
Date and time conditions (Partial support, see Unsupported Rule
RADIUS attribute and vendor-specific attributes (VSA) values
(see Table A-5 and Table
RADIUS vendor dictionaries
(see Notes for Table A-5
and Table A-6.)
Internal users attributes
(see Table A-1 and Table
Internal endpoint attributes
Authorization profiles
Downloadable access control lists (DACLs)
Identity (authentication) policies
Authorization policies (for network access)
Authentication, Authorization, and Authorization exception
polices for TACACS+ (for policy objects)
Authorization exception policies (for network access)
Service selection policies (for network access)
RADIUS proxy service
User password complexity
Identity sequence and RSA prompts
UTF-8 data
(see UTF-8 Support
EAP authentication protocol—PEAP-TLS
User check attributes
Identity sequence advanced option
Additional attributes available in policy
conditions—AuthenticationIdentityStore
Additional string operators—Start with, Ends with, Contains, Not
RADIUS identity server attributes
Data Objects Not
The following data objects are not migrated from Cisco Secure ACS to Cisco ISE, Release
Monitoring reports
Scheduled backups
Repositories
Administrators, roles, and administrators settings
Customer/debug log configurations
Deployment information (secondary nodes)
Certificates (certificate authorities and local certificates)
Security Group Access Control Lists (SGACLs)
Security Groups (SGs)
AAA servers for supported Security Group Access (SGA) devices
Security Group mapping
Network Device Admission Control (NDAC) policies
SGA egress matrix
SGA data within network devices
Security Group Tag (SGT) in SGA authorization policy results
Network conditions (end station filters, device filters, device
port filters)
Device AAA policies
Dial-in attribute support
TACACS+ Proxy
TACACS+ CHAP and MSCHAP Authentication
Attribute Substitution for TACACS+ shell profiles
Display RSA node missing secret
Maximum user sessions
Account disablement
Users password type
Internal users
configured with Password Type as External Identity Store
Additional attribute available in a policy
condition—NumberOfHoursSinceUserCreation
Wildcards for hosts
Network device ranges
OCSP service
Syslog messages
over SSL/TCP
Configurable
copyright banner
Internal user
expiry days
IP address exclusion
Partially Migrated
Data Objects
The following data objects are partially migrated from Cisco Secure ACS, Release 5.5 or 5.6 to Cisco ISE, Release
Identity and host attributes that are of type date are not migrated.
RSA sdopts.rec file and secondary information are not migrated.
Multi-Active Directory domain (only Active Directory domain joined to the primary) is migrated.
LDAP configuration defined for primary ACS instance is migrated.
Supported Attributes and Data TypesUser Attributes
Migrated from Cisco Secure ACS, Release 5.5 or
5.6 to Cisco ISE
Supported User Attributes in Cisco Secure ACS, Release 5.5 or
Target Data Type in Cisco ISE, Release
User Attribute:
Association to the User
Attributes Associated to Users in Cisco Secure ACS, Release 5.5
Cisco ISE, Release
Hosts Attributes
Migrated from Cisco Secure ACS, Release 5.5 or
5.6 to Cisco ISE, Release
Supported Host Attributes in Cisco Secure ACS, Release 5.5 or
Target Data Type in Cisco ISE, Release
Host Attribute:
Association to the Host
Attributes Associated to Hosts in Cisco Secure ACS, Release 5.5
Cisco ISE, Release
RADIUS Attributes
Migrated from Cisco Secure ACS, Release 5.5 or
5.6 to Cisco ISE,
Supported RADIUS Attributes in Cisco Secure ACS, Release 5.5 or
Target Data Type in Cisco ISE, Release
RADIUS Attribute:
Association to RADIUS Server
Attributes Associated to RADIUS Servers in Cisco Secure ACS,
Release 5.5 or
Cisco ISE, Release
Data Information
This section provides tables that list the data information that is mapped during the export process. The tables include object categories from Cisco Secure ACS, Release 5.5 or 5.6
and its equivalent in Cisco ISE, Release
1.4. The data-mapping tables in this section list the status of valid or not valid data objects mapped when migrating data during the export stage of the migration process.
Network Device
Cisco Secure ACS Properties
Cisco ISE Properties
Any network devices that are
set only as TACACS are not supported for migration and are listed as
non-migrated devices.
Active Directory
Cisco Secure ACS Properties
Cisco ISE Properties
External RADIUS
Server Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
Hosts (Endpoints)
Cisco Secure ACS Properties
Cisco ISE Properties
Identity Dictionary
Cisco Secure ACS Properties
Cisco ISE Properties
Identity Group
Cisco Secure ACS Properties
Cisco ISE Properties
Cisco ISE, Release
1.4 contains user and endpoint identity groups. Identity groups in Cisco Secure ACS, Release 5.5 or 5.6
are migrated to Cisco ISE, Release
1.4 as user and endpoint identity groups because a user needs to be assigned to a user identity group and an endpoint needs to be assigned to an endpoint identity group.
Cisco Secure ACS Properties
Cisco ISE Properties
Only the LDAP
configuration defined for the primary ACS instance is migrated.
Figure 1. Server Connection Tab
Figure 2. Directory Organization Tab
Cisco Secure ACS Properties
Cisco ISE Properties
Cisco Secure ACS, Release 5.5 or 5.6 can support more than one network device group (NDG) with the same name. Cisco ISE, Release
1.4 does not support this naming scheme. Therefore, only the first NDG type with any defined name is migrated.
NDG Hierarchy
Cisco Secure ACS Properties
Cisco ISE Properties
Any NDGs that contain a root name with a colon (:) are not
migrated because Cisco ISE, Release
1.4 does not recognize the colon as a valid character.
RADIUS Dictionary
(Vendors) Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
Only RADIUS vendors that are
not part of a Cisco Secure ACS, Release 5.5 or
5.6 installation are required to be migrated. This
affects only user-defined vendors.
RADIUS Dictionary
(Attributes) Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
Only the user-defined RADIUS attributes that are not part of a
Cisco Secure ACS, Release 5.5 or
5.6 installation are required to be migrated (only the user-defined attributes
need to be migrated).
Cisco Secure ACS Properties
Cisco ISE Properties
Certificate
Authentication Profile Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
Authorization
Profile Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
Downloadable ACL
Cisco Secure ACS Properties
Cisco ISE Properties
External RADIUS
Server Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
Identity Attributes
Dictionary Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
RADIUS Token
Cisco Secure ACS Properties
Cisco ISE Properties
RSA Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
RSA Prompts
Cisco Secure ACS Properties
Cisco ISE Properties
Identity Store
Sequences Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
Default Network
Devices Mapping
Cisco Secure ACS Properties
Cisco ISE Properties
Was this Document Helpful?
Let Us Help
(Requires a )
Related Support Community Discussions更新到8.1,C盘用户文件夹下多出这么一个Default.migrated - Win8.1 & Win8 讨论区 - IT之家论坛 -
Powered by Discuz! Archiver
更新到8.1,C盘用户文件夹下多出这么一个Default.migrated
更新到8.1,C盘用户文件夹下多出这么一个Default.migrated,可以删掉不?
没用了,可以删掉
查看完整版本:查看: 10972|回复: 1
更新到8.1,C盘用户文件夹下多出这么一个Default.migrated
签到天数: 1 天[LV.1]初来乍到
马上注册,欢迎加入IT之家社区大家庭。
才可以下载或查看,没有帐号?
更新到8.1,C盘用户文件夹下多出这么一个Default.migrated,可以删掉不?
签到天数: 1115 天[LV.10]以坛为家III
没用了,可以删掉
版权所有 (C)}

我要回帖

更多关于 myeclipse migrated 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信