Translate 3 Node.js templates to PHP
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Bắt đầu với README của appwrite/templates để xác định ba template chưa có triển khai PHP nhưng có phiên bản Node.js. So sánh từng template Node.js với các template PHP hiện có, sau đó tạo một thư mục PHP cho mỗi template và tái tạo logic của nó; được xem là hoàn tất khi cả ba tích hợp hoạt động nhất quán với các phiên bản tương ứng trên Node.js và sẵn sàng để review.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Introduction
Appwrite allows developers to run serverless functions on Appwrite Cloud. While most of the business logic requires entirely custom code, parts of the application have a generic solution.
To address this problem, Appwrite introduced Function templates, allowing developers to use templates for problems such as Stripe payments, AI prompting, or generating invoices.
Those templates are meant to be extended by the developer to precisely fit the needs of their application. Considering that developers come from different backgrounds and experiences, Appwrite Functions supports templates for over 10 languages.
Starting this issue requires an understanding of Node.js and PHP syntax. Finishing this issue will give you a basic understanding of Chat GPT, the code review process, and writing quality code.
Task summary
Your goal is to prepare 3 Appwrite Function templates in PHP programming language.
1. Pick 3 templates you want to translate
Look at appwrite/templates README, and look for templates that are missing implementation in PHP. Pick 3 templates you want to work on, and make sure they have been implemented in Node.js.
We highly recommend picking an integration template with the tool you are familiar with. If you are up for a challenge, pick the ones you wanted to learn but didn't have time to check out yet.
2. Translate templates from Node.js to PHP
For each template, prepare a folder inside the PHP directory. Initial setup shouldn't be a problem if you are familiar with PHP, but it's also perfectly fine to look at other PHP templates to see what they look like.
Once you have folders ready, look at the template implementation in Node.js, which shows you how the template was implemented in JavaScript. You should read the code and understand it clearly.
Finally, re-implement the same logic in PHP. It's not necessary to follow it line-by-line, but it's best to follow the same logical structure.
In this step, you are allowed to use ChatGPT to help you out, but please don't copy entire chunks of code. Use it as a tool to show you what a solution could look like, but make sure you are the one making a decision about what the final PR looks like.
- Ngôn ngữ chính
- HTML
- Star
- 174
- Fork
- 129
- Merge trung bình
- 14 giờ 35 phút
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của appwrite/templates
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 Bug Report: discord-command-bot Python build fails in setup.pyCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug python
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
appwrite/templates#491 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dependency DashboardĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Enhancement: Add TypeScript definitions (IntelliSense) to Node.js starterCó thể đã có người làm @Ram3ez đã nhận 329 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của appwrite/templates
Issue tương tự
-
[Bug] The blue-green mitigation strategy lists catalog names and views before the source tablesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws-samples/sample-aws-genai-db-modernizer#2097 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Vec<Item> extended comparisonsĐang mởgood first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
servo/rust-smallvec#872 ·
-
api-platform/doctrine-common requires abandoned doctrine/common but doesn't appear to use itĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
api-platform/core#8835 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: Python SDK overwrites OVPack backups with HTTP 200 JSON errorsCó thể đã có người làm @stefanielizeth73-art đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
volcengine/OpenViking#7347 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SelectOneHealthyInstance panics when instance weights are fractional (e.g. 0.5)Có thể đã có người làm @Ajax-1 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nacos-group/nacos-sdk-go#929 ·