Questions tagged [perfect]

Perfect is a framework for developing web and other REST services in the Swift programming language. It lets developers build using only Swift to program both the client-facing and server-side of their projects.

enter image description here

Perfect is the first enterprise-grade web server and toolkit designed exclusively for developers using Apple’s open source programming language, . Perfect eliminates the need for developers to choose and learn an additional programming language to program backend server software. Perfect runs on iOS, MacOS, and Linux.

129 questions
0
votes
1 answer

Setting up Perfect on Ubuntu

I'm tring to setup Perfect server on my ubuntu and I'm stuck at part when I have to clone & build PerfectLib According to this tutorial I should do git clone https://github.com/PerfectlySoft/Perfect.git cd Perfect/PerfectLib make sudo make…
Błażej
  • 3,617
  • 7
  • 35
  • 62
0
votes
1 answer

PerfectLib on Ubuntu: module does seem to reference obsolete generated interface

I am having an issue in getting my PerfectServer module (called MCPushServer) to compile on Ubuntu when referencing an updated version of PerfectLib. As for my previous question, I have updated PerfectLib to make use of the WebRequest's lazy var…
0
votes
0 answers

Swift PerfectServer: POST request and JSON body

first of all I'd like to thank the team for this amazing project, it is indeed exiting to be able to start writing server-side software in Swift. I'm successfully running a POC using PerfectServer on an Ubuntu VM and working on the API to interact…
0
votes
1 answer

Trouble executing example apps in Examples.xcworkspace , XCode tries to execute them all at once

Thank you for taking the time to read my question. I am quite new to server side development, but do have some experience with Swift. I opened Examples.xcworkspace. So my issue is that I am trying to run Tap Tracker, and 1) when I run it I get this…
Glenncito
  • 902
  • 1
  • 10
  • 23
-1
votes
2 answers

Finding the perfect pth power of a number using Java when the number is a fraction

We say p is the perfect pth power of a number x if x can be expressed as another number b^p. i.e if x=b^p , then p is the perfect pth power of x. I have few use cases where x can be either a positive integer, negative integer or even a fraction.…
anonymous
  • 11
  • 4
-1
votes
2 answers

MySQL SELECT * FROM (including NULL values)

Maybe I'm foolish, maybe I'm blind, but I'm only Swift developer who tries to deal with some aspects of MySQL. I've got a simple table with several columns: id INT NOT NULL name VARCHAR NOT NULL age INT ALLOW NULL domain VARCHAR NOT NULL So the…
user6485277
-1
votes
2 answers

Perfect Server HTTP file "/" not found

I have a problem when i launch the perfect http server. The file "/" was not found I use Xcode 7.3.1 on MAC OS 10.11. I followed exactly the same steps in this tutorial This my screen message after executing the server
BriniH
  • 35
  • 11
-3
votes
2 answers

Is there a db connection pool for swift in perfect?

I am looking for a database connection pool wrapper for perfect (swift 3 or above). I couldn't find any through search so I decided to ask if someone could provide a hint. Thanks in advance
Masoud Dadashi
  • 1,044
  • 10
  • 11
-3
votes
1 answer

How to hit post request in javascript , which hit server side swift server?

How to hit post request in javascript, which hit server side server(Perfect) ? I got all my parameters in function in script tag . Now I am facing difficulties to hit post request from function to Server
1 2 3
8
9