首页 文章 精选 留言 我的

精选列表

搜索[AI功能],共10000篇文章
优秀的个人博客,低调大师

ODPS功能介绍之数据导入

在使用ODPS强大的数据处理能力之前,大家最关心的是自己的数据如何导入到ODPS中。 下面介绍一款向ODPS导入数据的工具-Fluentd。 Fluentd是一个开源的软件,用来收集各种源头日志(包括Application Log、Sys Log及Access Log),允许用户选择插件对日志数据进行过滤、并存储到不同的数据处理端(包括MySQL、Oracle、MongoDB、Hadoop、Treasure Data、AWS Services、Google Services以及ODPS等)。Fluentd以小巧灵活而著称,允许用户自定义数据源、过滤处理及目标端等插件,目前在这款软件中已经有300+个插件运行Fluentd的架构上,而且这些插件全部是开源的。 ODPS也在这款软件上开源了数据导入插件。 环境准备 使用这款软件,向ODPS导入数据,需要具备如下环境: Ruby 2.1.0 或更新 Gem 2.4.5 或更新 Fluentd-0.10.49 或从Fluentd 官网http://www.fluentd.org/ 查找最新,Fluentd为不同的OS提供了不同的版本,详见http://docs.fluentd.org/articles/quickstart Protobuf-3.5.1 或更新(Ruby protobuf) 安装导入插件 接下来可以通过以下两种方式中的任意一种来安装ODPS Fluentd 导入插件。 方式一:通过ruby gem安装: $ gem install fluent-plugin-aliyun-odps ODPS已经将这个插件发布到GEM库中, 名称为 fluent-plugin-aliyun-odps,只需要通过gem install 命令来安装即可(大家在使用gem 时在国内可能会遇到gem库无法访问,可以在网上搜一下更改gem 库源来解决)。 方式二:通过插件源码安装: $ gem install protobuf $ gem install fluentd –no-ri –no-rdoc $ git clone https://github.com/aliyun/aliyun-odps-fluentd-plugin.git $ cp aliyun-odps-fluentd-plugin/lib/fluent/plugin/* {YOUR_FLUENTD_DIRECTORY}/lib/fluent/plugin/ -r 其中第二条命令是安装fluentd,如果已经安装可以省略。 ODPS Fluentd插件源码在github上,clone下来之后直接放到Fluentd的plugin目录中即可。 插件的使用 使用Fluentd导入数据时,最主要的是配置Fluentd的conf文件,更多conf文件 的介绍请参见: http://docs.fluentd.org/articles/config-file 示例一:导入Nginx日志 。Conf中source的配置如下: <source> type tail path /opt/log/in/in.log pos_file /opt/log/in/in.log.pos refresh_interval 5s tag in.log format /^(?<remote>[^ ]*) – - \[(?<datetime>[^\]]*)\] “(?<method>\S+)(?: +(?<path>[^\"]*?)(?: +\S*)?)?” (?<code>[^ ]*) (?<size>[^ ]*) “-” “(?<agent>[^\"]*)”$/ time_format %Y%b%d %H:%M:%S %z </source> fluentd 以tail方式监控指定的文件内容是否有变化,更多的tail配置参见:http://docs.fluentd.org/articles/in_tail match 配置如下: <match in.**> type aliyun_odps aliyun_access_id ************ aliyun_access_key ********* aliyun_odps_endpoint http://service.odps.aliyun.com/api aliyun_odps_hub_endpoint http://dh.odps.aliyun.com buffer_chunk_limit 2m buffer_queue_limit 128 flush_interval 5s project projectforlog <table in.log> table nginx_log fields remote,method,path,code,size,agent partition ctime=${datetime.strftime(‘%Y%m%d’)} time_format %d/%b/%Y:%H:%M:%S %z </table> </match> 数据会导入到projectforlog project的nginx_log表中,其中会以源中的datetime字段作为分区,插件遇到不同的值时会自动创建分区; 示例二:导入MySqL中的数据。导入MySQL中数据时,需要安装fluent-plugin-sql插件作为source: $ gem install fluent-plugin-sql 配置conf中的source: <source> type sql host 127.0.0.1 database test adapter mysql username xxxx password xxxx select_interval 10s select_limit 100 state_file /path/sql_state <table> table test_table tag in.sql update_column id </table> </source> 这个例子是从test_table中SELECT数据,每间隔10s去读取100条数据出来,SELECT 时将ID列作为主键(id字段是自增型)。关于fluent-plugin-sql的更多说明参见:https://github.com/fluent/fluent-plugin-sql match 配置如下: <match in.**> type aliyun_odps aliyun_access_id ************ aliyun_access_key ********* aliyun_odps_endpoint http://service.odps.aliyun.com/api aliyun_odps_hub_endpoint http://dh.odps.aliyun.com buffer_chunk_limit 2m buffer_queue_limit 128 flush_interval 5s project your_projectforlog <table in.log> table mysql_data fields id,field1,field2,fields3 </table> </match> 数据会导出到ODPS projectforlog project的mysql_data表中,导入的字段包括id,field1,field2,field3。 关于导入表的说明 通过Fluentd导入数据是走的ODPS实时数据流入通道-Datahub,这个通道需要一个特殊的ODPS表,这个表在创建时需要指定为Hub Table。创建表时可以使用如下语名: CREATE TABLE <table_name) (field_name type,…) PARTITIONED BY (pt_name type) INTO <n1> SHARDSHUBLIFECYCLE <n2>; 其中:n1 是指shards数量,有效值为1-20。在导入数据时,每个shard的流入量是10M/秒。N2是指数据在Datahub上的保留期,有效值1-7,主要用于流计算场景中使用历史数据。 例如: createtableaccess_log(f1string,f2string,f3string,f4string,f5string,f6string,f7 string)partitionedby(ctimestring)into5shardshublifecycle7; 如果向已经存在的表导入数据,也需要将表修改为HUB表, 其命令为: ALTER TABLE table_name ENABLE HUTTABLE with <n1> SHARDS HUBLIFECYCLE <n2>; 插件参数说明 向ODPS导入数据,需要将ODPS插件配置在conf文件中match项中。插件支持的参数说明如下: type(Fixed): 固定值 aliyun_odps. aliyun_access_id(Required):云账号access_id. aliyun_access_key(Required):云账号access key. aliyun_odps_hub_endpoint(Required):如果你的服务部署在ESC上,请把本值设定为http://dh-ext.odps.aliyun-inc.com, 否则设置为http://dh.odps.aliyun.com. aliyunodps_endpoint(Required):如果你的服务部署在ESC上,请把本值设定为http://odps-ext.aiyun-inc.com/api, 否则设置为http://service.odps.aliyun.com/api. buffer_chunk_limit(Optional): 块大小,支持“k”(KB),“m”(MB),“g”(GB)单位,默认 8MB,建议值2MB. buffer_queue_limit(Optional): 块队列大小,此值与buffer_chunk_limit共同决定整个缓冲区大小。 flush_interval(Optional): 强制发送间隔,达到时间后块数据未满则强制发送, 默认 60s. project(Required): project名称. table(Required): table名称. fields(Required): 与source对应,字段名必须存在于source之中. partition(Optional):若为分区表,则设置此项. 分区名支持的设置模式: 固定值: partition ctime=20150804 关键字: partition ctime=${remote} (其中remote为source中某字段) 时间格式关键字: partition ctime=${datetime.strftime(‘%Y%m%d’)} (其中datetime为source中某时间格式字段,输出为%Y%m%d格式作为分区名称) time_format(Optional):如果使用时间格式关键字为<partition>, 请设置本参数. 例如: source[datetime]=”29/Aug/2015:11:10:16 +0800″,则设置<time_format>为”%d/%b/%Y:%H:%M:%S %z” 更多 除了使用Fluentd可以导入数据外,ODPS还支持通过Flume导入数据。Flume是Apache的一款开源软件,ODPS团队基于Flume开源了导入插件源代码,感兴趣的朋友可以参见https://github.com/aliyun/aliyun-odps-flume-plugin 了解更多细节。

优秀的个人博客,低调大师

PHP怎么实现扫码支付功能

扫码支付在中文语境里其实指向**两种完全相反的流程**,选错接口会白折腾一天。先对清楚你要哪个: |主扫(正扫)|被扫(反扫)| |:-:|:-:| |场景|收银台屏幕/小票出二维码,用户拿手机扫|用户亮付款码,商家拿扫码枪扫| |微信|Native 支付 `v3/pay/transactions/native`|付款码支付 `v3/pay/transactions/micropay`| |支付宝|`alipay.trade.precreate`(当面付)|`alipay.trade.pay`(scene=bar_code)| |金额|用户扫码后确认|商家扣款,用户免密| 下面以**主扫(Native + 当面付)**为主线给完整实现,反扫在末尾补差异。 ---- ## 一、整体链路(两家都一样) ``` [1] 商户后端 ──下单──> 微信/支付宝 ──返回码串(code_url / qr_code) [2] 后端把码串给前端 ──> 前端用 qrcode.js 渲染成二维码 [3] 用户扫码支付 [4] 支付平台 ──POST 异步通知──> 你的 notify_url ← 状态以此为准 [5] 前端同时轮询 /order/status 做兜底(网络抖动时异步通知可能延迟) [6] 验签 + 解密 + 幂等落库 → 返回成功应答,否则平台会重推 ``` **核心原则:前端跳转/轮询的"成功"都不可信,只有验过签的异步通知才是结算依据。** ---- ## 二、微信支付 Native(APIv3) ### 1. 安装与凭证 ```php composer require wechatpay/wechatpay # 官方 SDK,需 PHP >= 7.2.5 + Guzzle 6.5/7.0 composer require endroid/qr-code # 服务端出图才需要;前端渲染可省 ``` 需要四样东西:商户号 `mchid`、商户 API 私钥 `apiclient_key.pem`、商户证书序列号、APIv3 密钥,外加**微信支付平台证书或微信支付公钥**(PHP-FPM 进程模型下 SDK 不支持自动更新平台证书,得用自带工具下载后放本地)。 ### 2. 下单 ```php instance = Builder::factory([ 'mchid' => getenv('WX_MCHID'), 'serial' => getenv('WX_SERIAL_NO'), // 商户 API 证书序列号 'privateKey' => $merchantPrivateKey, 'certs' => [ PemUtil::parseCertificateSerialNo($platformCertPath) => $platformPublicKey, ], ]); } /** * Native 下单,返回可直接生成二维码的 code_url * @param string $outTradeNo 商户订单号(32 位内,同一号重复下单会报错) * @param string $desc 商品描述 * @param int $amountFen 金额,单位【分】 */ public function nativePrepay(string $outTradeNo, string $desc, int $amountFen): string { $resp = $this->instance ->chain('v3/pay/transactions/native') ->post(['json' => [ 'appid' => getenv('WX_APPID'), 'mchid' => getenv('WX_MCHID'), 'description' => $desc, 'out_trade_no' => $outTradeNo, 'notify_url' => 'https://yourdomain.com/pay/wx/notify', 'amount' => ['total' => $amountFen, 'currency' => 'CNY'], ]]); $body = json_decode((string) $resp->getBody(), true); return $body['code_url']; // 形如 weixin://wxpay/bizpayurl?pr=xxxxx } } ``` 注意 `total` 是**整数分**,别把 `9.90` 传进去。 ### 3. 渲染二维码 前端渲染更省事(后端只返 `code_url`),用 `qrcodejs` 一行搞定;服务端出图则用 `endroid/qr-code`。无论哪种,`code_url` 有时效(通常 2 小时)且**一码一付**,超时或订单关闭后必须重新下单。 ### 4. 异步通知:验签 + 解密 + 幂等 这是最容易写错、也最容易被伪造请求打穿的一环。 ```php 'SUCCESS']); // 非成功态也要正常应答,否则会反复重推 exit; } // ③ 幂等:同一 out_trade_no 只处理一次(用 DB 唯一键或 Redis SETNX 挡重) if (OrderModel::alreadyPaid($data['out_trade_no'])) { echo json_encode(['code' => 'SUCCESS']); exit; } // ④ 校验金额是否等于本地订单金额 —— 漏了这步等于允许"改价支付" $order = OrderModel::findByNo($data['out_trade_no']); if ($order->amount_fen !== (int) $data['amount']['total']) { http_response_code(400); exit; } OrderModel::markPaid($order, $data['transaction_id']); // ⑤ 必须返回 2xx + JSON,微信才认为通知成功 echo json_encode(['code' => 'SUCCESS']); ``` ### 5. 查单兜底 前端轮询接口里调 `GET /v3/pay/transactions/out-trade-no/{out_trade_no}?mchid=xxx`,以 `trade_state === 'SUCCESS'` 为准: ```php $resp = $this->instance ->chain("v3/pay/transactions/out-trade-no/{$outTradeNo}") ->get(['query' => ['mchid' => getenv('WX_MCHID')]]); ``` ---- ## 三、支付宝当面付(主扫) 支付宝 SDK 现在同时提供 **v2 与 v3 两个版本**,v3 基于 OAS3 规范、JSON 交互、加验签更简洁。新项目建议 v3(`alipaysdk/openapi`),图省事可用 `alipaysdk/easysdk`(v2 封装)。这里给 easysdk 的精简写法。 >⚠️ 一个容易踩的新变化:支付宝官方已将"当面付扫码支付"升级为**订单码支付**,两者调用流程一致,区别只在 `product_code` —— 当面付是 `FACE_TO_FACE_PAYMENT`,订单码支付是 `QR_CODE_OFFLINE`。新接入建议确认当前应签哪个产品。 ```php composer require alipaysdk/easysdk ``` ```php protocol = 'https'; $config->gatewayHost = 'openapi.alipay.com'; // 沙箱用 openapi-sandbox.dl.alipaydev.com $config->signType = 'RSA2'; $config->appId = getenv('ALI_APPID'); $config->merchantPrivateKey = file_get_contents('/etc/certs/app_private_key.pem'); $config->alipayPublicKey = file_get_contents('/etc/certs/alipay_public_key.pem'); $config->notifyUrl = 'https://yourdomain.com/pay/ali/notify'; Factory::setOptions($config); } /** 主扫:生成二维码码串 */ function aliPrecreate(string $outTradeNo, string $totalAmount, string $subject): string { alipayFactory(); $result = Factory::payment()->faceToFace() ->preCreate($subject, $outTradeNo, $totalAmount); // $totalAmount 单位是【元】,字符串,如 "9.90" return $result->qrCode; } ``` 异步通知验签(支付宝的返回体是表单参数,不是 JSON): ```php common()->verifyNotify($params)) { http_response_code(401); exit('fail'); } if ($params['trade_status'] !== 'TRADE_SUCCESS' && $params['trade_status'] !== 'TRADE_FINISHED') { exit('success'); } // 同样要:幂等 + 校验 total_amount 与本地订单一致 OrderModel::markPaid($params['out_trade_no'], $params['trade_no']); echo 'success'; // 必须原样输出 success,输出其他内容支付宝会持续重发 ``` ---- ## 四、反扫(商家扫用户付款码)的差异 - 微信:`POST /v3/pay/transactions/micropay`,传 `payer.auth_code`(18 位付款码),**同步返回结果**。 - 支付宝:`alipay.trade.pay`,`scene=bar_code` + `auth_code`。 - 关键差异:反扫**没有异步通知**,同步返回就是最终结果。但遇到 `SYSTEMERROR`(微信)/ `USERPAYING`(用户输密码中)不能直接判失败——要**轮询查单**(建议 10 秒一次,30 秒内),仍不明则调撤销订单接口;且撤销必须在扣款后至少 15 秒再调。付款码有效期约 1 分钟,过期要让用户刷新。 ---- ## 五、上线前必查清单 1. **金额单位**:微信整数分,支付宝字符串元——混用是最高频 bug。 2. **必做验签**:不验签的回调等于把"确认已支付"的权限开放给任何人。 3. **应答格式**:微信要 2xx + `{"code":"SUCCESS"}`,支付宝要纯文本 `success`,写错会被重推 N 次。 4. **幂等**:网络重传 + 平台重推会让同一通知到达多次,用订单号做唯一约束。 5. **金额二次校验**:拿回调里的金额跟本地订单比,防止"一分钱买大件"。 6. **私钥管理**:别硬编码进代码、别进 Git,放服务器安全目录、权限 600,推荐走环境变量或密钥管理服务。 7. **回调必须 HTTPS**​ 且公网可达,本地调试用内网穿透(ngrok/cpolar)。 8. **先跑沙箱**:支付宝有完整沙箱环境,微信支付可用验收用例,别直接拿生产商户号试错。 9. **关单**:二维码超时未付要主动关单(`v3/pay/transactions/out-trade-no/{no}/close`,支付宝 `alipay.trade.close`),避免挂账。 10. **资质门槛**:两家当面付都要求**企业或个体工商户**资质 + 签约开通,个人开发者申请不下来。先确认营业执照和经营场景资料齐了再动手写代码。 ---- 你现在是打算接**微信还是支付宝**、**主扫还是反扫**?另外项目用的是原生 PHP、Laravel 还是 ThinkPHP?告诉我这三点,我可以直接给你一份贴合框架的完整支付模块(含订单表设计和状态机)。 推荐查看天气:http://www.362tq.com/baode/ 推荐查看天气:http://www.362tq.com/baode/zuotian.html 推荐查看天气:http://www.362tq.com/baode/7tian.html 推荐查看天气:http://www.362tq.com/baode/10tian.html 推荐查看天气:http://www.362tq.com/baode/15tian.html 推荐查看天气:http://www.362tq.com/baode/40tian.html 推荐查看天气:http://www.362tq.com/pianguan/ 推荐查看天气:http://www.362tq.com/pianguan/zuotian.html 推荐查看天气:http://www.362tq.com/pianguan/7tian.html 推荐查看天气:http://www.362tq.com/pianguan/10tian.html 推荐查看天气:http://www.362tq.com/pianguan/15tian.html 推荐查看天气:http://www.362tq.com/pianguan/40tian.html 推荐查看天气:http://www.362tq.com/yuanping/ 推荐查看天气:http://www.362tq.com/yuanping/zuotian.html 推荐查看天气:http://www.362tq.com/yuanping/7tian.html 推荐查看天气:http://www.362tq.com/yuanping/10tian.html 推荐查看天气:http://www.362tq.com/yuanping/15tian.html 推荐查看天气:http://www.362tq.com/yuanping/40tian.html 推荐查看天气:http://www.362tq.com/linfen/ 推荐查看天气:http://www.362tq.com/linfen/zuotian.html 推荐查看天气:http://www.362tq.com/linfen/7tian.html 推荐查看天气:http://www.362tq.com/linfen/10tian.html 推荐查看天气:http://www.362tq.com/linfen/15tian.html 推荐查看天气:http://www.362tq.com/linfen/40tian.html 推荐查看天气:http://www.362tq.com/quwo/ 推荐查看天气:http://www.362tq.com/quwo/zuotian.html 推荐查看天气:http://www.362tq.com/quwo/7tian.html 推荐查看天气:http://www.362tq.com/quwo/10tian.html 推荐查看天气:http://www.362tq.com/quwo/15tian.html 推荐查看天气:http://www.362tq.com/quwo/40tian.html 推荐查看天气:http://www.362tq.com/linfenyicheng/ 推荐查看天气:http://www.362tq.com/linfenyicheng/zuotian.html 推荐查看天气:http://www.362tq.com/linfenyicheng/7tian.html 推荐查看天气:http://www.362tq.com/linfenyicheng/10tian.html 推荐查看天气:http://www.362tq.com/linfenyicheng/15tian.html 推荐查看天气:http://www.362tq.com/linfenyicheng/40tian.html 推荐查看天气:http://www.362tq.com/xiangfen/ 推荐查看天气:http://www.362tq.com/xiangfen/zuotian.html 推荐查看天气:http://www.362tq.com/xiangfen/7tian.html 推荐查看天气:http://www.362tq.com/xiangfen/10tian.html 推荐查看天气:http://www.362tq.com/xiangfen/15tian.html 推荐查看天气:http://www.362tq.com/xiangfen/40tian.html 推荐查看天气:http://www.362tq.com/hongdong/ 推荐查看天气:http://www.362tq.com/hongdong/zuotian.html 推荐查看天气:http://www.362tq.com/hongdong/7tian.html 推荐查看天气:http://www.362tq.com/hongdong/10tian.html 推荐查看天气:http://www.362tq.com/hongdong/15tian.html 推荐查看天气:http://www.362tq.com/hongdong/40tian.html 推荐查看天气:http://www.362tq.com/guxian/ 推荐查看天气:http://www.362tq.com/guxian/zuotian.html 推荐查看天气:http://www.362tq.com/guxian/7tian.html 推荐查看天气:http://www.362tq.com/guxian/10tian.html 推荐查看天气:http://www.362tq.com/guxian/15tian.html 推荐查看天气:http://www.362tq.com/guxian/40tian.html 推荐查看天气:http://www.362tq.com/anze/ 推荐查看天气:http://www.362tq.com/anze/zuotian.html 推荐查看天气:http://www.362tq.com/anze/7tian.html 推荐查看天气:http://www.362tq.com/anze/10tian.html 推荐查看天气:http://www.362tq.com/anze/15tian.html 推荐查看天气:http://www.362tq.com/anze/40tian.html 推荐查看天气:http://www.362tq.com/linfenfushan/ 推荐查看天气:http://www.362tq.com/linfenfushan/zuotian.html 推荐查看天气:http://www.362tq.com/linfenfushan/7tian.html 推荐查看天气:http://www.362tq.com/linfenfushan/10tian.html 推荐查看天气:http://www.362tq.com/linfenfushan/15tian.html 推荐查看天气:http://www.362tq.com/linfenfushan/40tian.html 推荐查看天气:http://www.362tq.com/linfenjixian/ 推荐查看天气:http://www.362tq.com/linfenjixian/zuotian.html 推荐查看天气:http://www.362tq.com/linfenjixian/7tian.html 推荐查看天气:http://www.362tq.com/linfenjixian/10tian.html 推荐查看天气:http://www.362tq.com/linfenjixian/15tian.html 推荐查看天气:http://www.362tq.com/linfenjixian/40tian.html 推荐查看天气:http://www.362tq.com/xiangning/ 推荐查看天气:http://www.362tq.com/xiangning/zuotian.html 推荐查看天气:http://www.362tq.com/xiangning/7tian.html 推荐查看天气:http://www.362tq.com/xiangning/10tian.html 推荐查看天气:http://www.362tq.com/xiangning/15tian.html 推荐查看天气:http://www.362tq.com/xiangning/40tian.html 推荐查看天气:http://www.362tq.com/daning/ 推荐查看天气:http://www.362tq.com/daning/zuotian.html 推荐查看天气:http://www.362tq.com/daning/7tian.html 推荐查看天气:http://www.362tq.com/daning/10tian.html 推荐查看天气:http://www.362tq.com/daning/15tian.html 推荐查看天气:http://www.362tq.com/daning/40tian.html 推荐查看天气:http://www.362tq.com/linfenxixian/ 推荐查看天气:http://www.362tq.com/linfenxixian/zuotian.html 推荐查看天气:http://www.362tq.com/linfenxixian/7tian.html 推荐查看天气:http://www.362tq.com/linfenxixian/10tian.html 推荐查看天气:http://www.362tq.com/linfenxixian/15tian.html 推荐查看天气:http://www.362tq.com/linfenxixian/40tian.html 推荐查看天气:http://www.362tq.com/yonghe/ 推荐查看天气:http://www.362tq.com/yonghe/zuotian.html 推荐查看天气:http://www.362tq.com/yonghe/7tian.html 推荐查看天气:http://www.362tq.com/yonghe/10tian.html 推荐查看天气:http://www.362tq.com/yonghe/15tian.html 推荐查看天气:http://www.362tq.com/yonghe/40tian.html 推荐查看天气:http://www.362tq.com/puxian/ 推荐查看天气:http://www.362tq.com/puxian/zuotian.html 推荐查看天气:http://www.362tq.com/puxian/7tian.html 推荐查看天气:http://www.362tq.com/puxian/10tian.html

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册
修改密码
忘记密码