Re: Calling an object from another in PHP using construct Programming Web Development by FarrisFahad …->obj = new A(); } } $obj = new C(); but I am trying to do the following ... class A { private $A; private $B… App development - Lobby functionality optimisation Programming Mobile Development by manmohan419 …'ve run into a bit of a roadblock. I'm trying to optimize the game lobby to ensure smooth navigation and… Re: Do email clients respect CSP? Programming Web Development by toneewa … best to test your policy against whatever method you're trying to prevent. You know what assume stands for. One thing… Re: Calling an object from another in PHP using construct Programming Web Development by pritaeas That causes an infinite loop as described by jkon. I'd go for a container class: ```php class Container { private $A; private $B; private $C; public function __construct($A, $B, $C) { $this->A = $A; $this->B = $B; $this->C = $C; } } $A = new A(); $B = new B(); $C = new … Re: App development - Lobby functionality optimisation Programming Mobile Development by Salem I suppose the first thing to answer would be whether the bottleneck is client or server side. Re: App development - Lobby functionality optimisation Programming Mobile Development by Dani Better caching strategies? I don't have any experience with app development, but for web development, I use Redis for these kinds of things. Re: App development - Lobby functionality optimisation Programming Mobile Development by toneewa What I like to do is write code, even if it's not working or even correct syntax. This will help illustrate what the idea or thought is. Please paint us some sort of pseudo code of your design. Not optimized: class App { function start() { showLoadingScreen() loadLobbyDataFromServer() // This might take … Trying to create a lan-to-lan vpn between two differents networks Hardware and Software Networking by seb_081 Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in … Re: Trying to create a lan-to-lan vpn between two differents networks Hardware and Software Networking by rproffitt I've only dabbled in Pfsense but know to ask about that in https://www.reddit.com/r/PFSENSE/ where there are experts. Having said that, be prepared to answer deeper questions about said setup, routers and more. How do I swap out the mesh on a humanoid armature in Unity 3D? Programming Game Development by Michael_80 In Unity 3D, utilizing the Starter Assets package, I am trying to swap the mesh on the Starter Asset character that … Calling an object from another in PHP using construct Programming Web Development by FarrisFahad How can I include objects in each other using PHP OOP? I have 3 classes all classes make use of one another. I am trying to call them on `__construct` but it's creating an infinite calls to one another. How can I solve this? Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim … on them, which is why your spoofing fails, you are trying to say `X@gmail.com` sent an email but gmail… that you own. If you say what problem you are trying to solve there is probably a solution for it, like… Re: This is me venting Community Center Meta DaniWeb by Dani …-wozniak-co-founder-of-apple-computer) anymore, but we're trying. Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner …'s email address, e.g. $_POST['ShowingEmail']. I'll be trying that to see if the online submission pages send without… Re: Chrome generates AI content Community Center by Dani … on the other hand, you have Google churning their wheels trying to figure out efficient ways to cut out all AI… Re: Do you participate in any other communities? Community Center Geeks' Lounge by midnightbastet Reddit, warrior forum, site point, currency dynamics forum and I guess that is all. Mostly it is or technical forums or forex. Just trying to understand that niche better that is all. Site point is a good ui/ux design forum btw so worth I guess to check! Re: APIs and SDKs in a PHP project Programming Web Development by Dani In the context of PHP, an API's SDK is a PHP-based library that is used to access what is typically a JSON-based API. Composer is a dependency manager for PHP, but you typically don't *need* to use it. What API are you trying to connect to? Re: Calling an object from another in PHP using construct Programming Web Development by pritaeas Show some code of how you expect it to work. Re: Calling an object from another in PHP using construct Programming Web Development by Dani I'm not understanding your question. You can definitely create objects within the methods of other classes. As pritaeas says, please post some code so we can understand better. Re: Calling an object from another in PHP using construct Programming Web Development by jkon In every OOP language that I know you can create infinite recursive loops in a construction method . Lets play a bit with it in PHP: class A { private $obj; public function __construct() { $this->obj = new B(); } } class B { private $obj; public … Re: Trying to animate sprite using DirectX9 Programming Software Development by Pavel_11 Hello, it is unneccessarily to use right movex or leftmovex , because it is to much variables. You should to use one variable movex to make it with minus or plus sign in your update function; by pressing left or right keys; because the one thing which is changable is a picture; I mean in global sense; variables like leftx, right x should be one… Re: Postfix authentication problem Hardware and Software Linux and Unix by chickenbirds > I am trying to set-up Postfix on my Ubuntu local web development … post I wanted to reply as I found it while trying to setup my own postfix mailrelay on my private cloud… Re: Extracting values from capturing groups in regex Programming Software Development by AndreRet Your main issue is with the way you're trying to capture the values inside the 'td' tags. Also, you … C++ programming error Programming by sammieb I am trying to enter a single string in C++ in which I … How can I create a meme generator using js canvas? Programming Web Development by FarrisFahad I am trying to create a meme generator similar to imgflip.com I know javascript but not sure how to implement this. I want users to be able to move text around the canvas using mousemove event listener. But I am not sure if they are moving the text on the canvas or are they creating an overlay div then transform the dimension's to canvas? How to query database using variable and get all results not just one row Programming Web Development by nander Hello I am trying to query a database to show records only for the … A module that comes with Python, doesn´t register? Programming Web Development by Audun … 3.12. Its there. This is the guide I´m trying to get through: https://finnstats.com/2024/01/17/python… Create And Install Windows Service Step By Step In C# Programming Web Development by Rabiya_1 … want to create a windows service here what I'm trying public TestService() { InitializeComponent(); timeDelay = new System.Timers.Timer(); timeDelay.Elapsed… Re: Do you think Google is doing a good job as a search engine? Digital Media Digital Marketing by Reverend Jim …. Perhaps they `earned` their degrees the same way you are trying to. I would be remiss if I did not also… Re: A reliable way of detecting AI content? Hardware and Software Cloud-based Apps by Reverend Jim … our educational system. And it's not very useful in trying to automate detection. As a side note, I read recently…