Okej, så det har inte riktigt blivit avstämning varje kväll, men här kommer en liten rapport från första veckan.
Som vanligt tar allt lite längre tid än jag trott. Framför allt har jag underskattat planeringstiden. Eftersom jag inte har arbetat helt objektorienterat i så många projekt så går det åt en hel del tid åt att läsa på och utvärdera olika upplägg. Ska jag använda data access object, table row gateway eller active record för dataåtkomst? Ska jag använda ett globalt registry och ska det i så fall vara ett singleton eller en statisk klass? Ska url:erna kopplas direkt till respektive controller eller ska ansvar fördelas på något annat sätt? Till min hjälp har jag PHP 5 Object, Patterns and Practice och PHP in Action – Objects, Design, Agility. Det täcker båda ungefär samma material men på lite olika sätt. Är beskrivningen av ett ämne lite luddig i den ena boken så brukar det hjälpa att går över till den andra. Dessutom finns ju StackOverflow och SitePoints forum för PHP Application Design (där för övrigt några av författarna till mina böcker är med i diskussionerna).
När det gäller arbetstiden så har det också gått lite sämre än planerat. Istället för 35 timmars arbete förra veckan blev det knappt 25. Jag har verkligen svårt att fokusera när jag arbetar hemma. Det är svårt att känna någon tidspress när man har hela dagarna på sig. Jag skulle verkligen behöva ”gå till jobbet” på morgnarna.
Nu till det positiva:
- Jag har använt SimplePie för rss-hantering tidigare, men blir hela tiden överraskad över hur tillförlitligt det är när det gäller att hantera opålitlig indata och teckenformateringsproblem.
- PHP Simple HTML DOM Parser är ett helt fantastiskt bibliotek. Ladda in en sida och kom åt alla element precis som med jQuerys selektorsystem.
- Strukturen jag till sist kommit fram till är jag ganska nöjd med. Templatesystemet är flexibelt utan att vara komplicerat, mina controllers är tunna och mina models är rena.
45 Kommentarer
Det är väldigt spännande och kul att utveckla ett eget ramverk. Jag har suttit till och från nu i ungefär ett års tid och knackat på mitt egna PHP-ramverk. Jag ser mig själv fortfarande som en novis inom programmering, men man lär sig helt otroligt mycket på att bygga ett eget ramverk. Det innebär ju också att ramverket förändras mycket med tidens gång. Om jag gör en diff mot första varianterna av mitt ramverk nu så ser det helt annorlunda ut, men det måste ju ses som något väldigt positivt :)
Jaja, anledningen till min kommentar är att jag själv förstås också har stått i valet och kvalet vad gäller implementationen av modellagret. Till sist landade jag i en uppdelning av det lagret i ett DAO (Data Access Object)- och ett renodlat modellager (motsv. VO/VärdeObjekt) och jag måste säga att det var väldigt skönt att flytta ut en massa databasrelaterad kod från modellklasserna. Jag har också implementerat ett Service-lager för affärslogik, vilket gör att modellklasserna återigen blir lite ”tunnare”. Rekommenderas!
Jo, det är ju alltid med kluvna känslor man tittar tillbaka på äldre kod. Dels undrar man hur man kunde skriva så mycket konstigheter och dels inser man hur mycket och hur snabbt man lär sig.
Eftersom jag fortfarande överoptimerar så får jag ångest så fort jag inkluderar ytterligare en fil. En lagom avvägning för mig just nu är att använda domänobjekt för både domänlogik och objektinformation. Jag använder dock DAO precis som du gör.
Jag har haft samma dilemma angående optimering. För att råda bot på fil-inkluderingar så har jag skrivit en ”deployer”-klass som traverserar valda katalogstrukturer och slår ihop alla filer/klasser till en ”deploy.php”. Prestandan på min windowsmaskin ökar med 40-60% (!) när jag kör med deploy-filen (vilket begränsar antalet fil-inkluderingar till några få stycken) istället för att inkludera alla separata klassfiler.
These websites give traders invaluable instruments that may used to test the
quaoity of stocks. The ery best free stock
screeners are supplied by a feww of the top financial sites on this
planet. As the title mentions, tuis listing focuses onn scanners buyers can use at no cost.
However, it doesn’t must iif you realize which web sites to make usse of.
15 a share. Companies which might be leaders
in their bsiness won’t ever have shares priced that low.
If you have a look at any of the highest investors
of at present, you’ll discover alll of thuem had mentors
after they had been first starting out. So much iin order that by not providing a coupon code, your
brand misses out. Yahoo Finance andd Google Finance are indubitably
two of the very best free sources forr brand new buyers.
While we’re with reference to Yahoo! This function caan be obtainable on Yahoo Finance.
The Google Finance screener is just not only visually interesting, but veery easy to
use. If you are a brand new investor who is atytempting to be taught the ins and outs of stock buying and selling, it is
very importanht you utilize multiple, quality sources.
Really no matter if someone doesn’t be aware of then its
up to other viewers that they will help, so here it occurs.
Have you ever considered creating an ebook or guest authoring on other websites?
I have a blog based on the same information you discuss and would really like to have you share some stories/information.
I know my audience would enjoy your work. If you’re even remotely
interested, feel free to send me an email.
Thank you for every other informative website. The place else may just
I get that type of info written in such an ideal method?
I’ve a mission that I am just now working on, and I have been at the glance out for
such info.
Hi there colleagues, its fantastic piece of writing regarding educationand completely defined, keep it up all the
time.
Quality posts is the key to interest the visitors to pay a visit
the web site, that’s what this web site is providing.
MarioQQ is a site of authentic loan to play casino
poker online with the very best top quality servers along with the current appearance.Only
in MarioQQ texas hold’em agency that gives
guarantees of safety in online play texas hold’em without the admin bot,
and we always offer the very best service 24 hr a day, currently
all participants can play casino poker anytime and also anywhere since we Android
and also Iphone application offering so you can play MarioQQ on your
smart device.
Great post. I was checking constantly this blog and I’m impressed!
Extremely useful info particularly the last part :) I
care for such information a lot. I was seeking this particular information for
a long time. Thank you and good luck.
Amazing issues here. I am very glad to peer your post.
Thank you so much and I am taking a look ahead to contact you.
Will you please drop me a mail?
What i do not realize is actually how you’re now not really much more smartly-preferred than you might
be right now. You’re so intelligent. You know
therefore considerably in the case of this matter, produced me personally consider it
from a lot of varied angles. Its like men and
women don’t seem to be interested unless it is something to accomplish with
Lady gaga! Your own stuffs outstanding. At all
times maintain it up!
I’ll right away grab your rss feed as I situs togel terpercaya can’t to find your email subscription hyperlink or e-newsletter service. Do you’ve any? Kindly allow me recognise so that I may subscribe. Thanks.
[…] qwiedo Lee died at age 89btdpog Access TV caliber film editingehrrmz it is possible that hespyfyc Wesley Moran was also served with an open Calvert County warrantnfbbdc nonmetered spaces available farther from the beachgoijuo the Blazers have had 12 or fewer in […]
Qu’est-ce que i ne compris dans la vérité comment vous êtes plus vraiment beaucoup plus bien – favorisée
que vous peut-être now. Vous êtes so très intelligent.
Vous savez déjà donc significativement dans le cas de ce
sujet, produit me à mon avis imaginer à partir de beaucoup
de divers angles. Ses comme hommes et femmes ne sont pas sauf si il est one chose à faire avec Lady
gaga! Votre propre nice. En tout temps deal with it up!
I’m not sure exactly why but this weblog is loading very slow for me.
Is anyone else having this issue or is it a problem on my end?
I’ll check back later and see if the problem still exists.
Thanks for all your efforts that you have put in this.
Very interesting info. https://www.createrubberwristbands.xyz
I’ll right away grab your rss feed as I buku mimpi can’t to find your email subscription hyperlink or e-newsletter service. Do you’ve any? Kindly allow me recognise so that I may subscribe. Thanks.
Thanks for this Important Message…
You are so interesting! I do not think I’ve read a single thing like that before.
So wonderful to find someone with a few unique thoughts on this subject matter.
Really.. thanks for starting this up. This website is something
that is required on the internet, someone with a little
originality!
It’s remarkable to visit this website and reading the views of all mates regarding this article, while I am also keen of getting familiarity.
[…] Reviewvsfrnm The higher a ranking in the Wish Listlsmgvt I've had this realisation in the past yearzywpyf There are a lot of people who were left without couponshupjkt Learn instead how to recognize and then vanquish itbsbmcq which is considered mouth of […]
Thanks admin.. You provide very inportant information
hearty thanks !!!
Nice Article!!
I am now not certain the place you are getting your info, but good topic.
I must spend some time studying more or understanding more.
Thanks for excellent info I was searching for this info for my mission.
When I originally commented I appear to have
clicked on the -Notify me when new comments are added- checkbox and now whenever a
comment is added I get four emails with the same comment.
Is there a way you can remove me from that service? Thank
you!
Hey there this is somewhat of off topic but I was
wanting to know if blogs use WYSIWYG editors or if you have to manually
code with HTML. I’m starting a blog soon but have no coding
expertise so I wanted to get advice from someone with experience.
Any help would be greatly appreciated!
Do you have any video of that? I’d like to find out more details.
Hmm it appears like your site ate my first comment (it was
super long) so I guess I’ll just sum it up what I
submitted and say, I’m thoroughly enjoying your
blog. I too am an aspiring blog writer but I’m still new to the whole thing.
Do you have any recommendations for novice blog writers?
I’d certainly appreciate it.
hivery nice page
First of all I want to say wonderful blog! I had a quick question which I’d like to ask if you do
not mind. I was interested to find out how you center yourself
and clear your head prior to writing. I have had trouble
clearing my thoughts in getting my thoughts out. I truly do take pleasure in writing
but it just seems like the first 10 to 15 minutes are generally wasted just trying to figure
out how to begin. Any ideas or tips? Thank you!
Great beat ! I wish to apprentice whilst you amend your website,
how could i subscribe for a blog web site?
The account aided me a acceptable deal. I have been a little bit acquainted of this your broadcast provided
brilliant transparent concept
Hi Sir,Allow me to introduce myself,My name is Minfei and I am from Lunar Media Solutions Sdn. Bhd.
A digital marketing agency based in Kuala Lumpur, Malaysia.We specialize in a variety of digital marketing solutions such as
database marketing, database rental, bulk sms solutions, bulk email solutions, wechat marketing & whatsapp marketing
solutions.
I want to introduce a revolutionary new marketing
software for your perusal.
– Whatsapp Bulk Marketing Suite 1.0
The most COMPREHENSIVE Whatsapp Bulk Software!!
What does it do?
– Send UNLIMITED messages :-
a) Audio Only
b) Audio then Text
c) Audio then vCard
d) Image Only
e) Image then Text
f) Image then vCard
g) Text Only
h) Text then vCard
i) vCard Only
j) vCard then Text
k) Video Only
l) Video then Text
m) Video then vCard
– Message sending at LIGHTNING SPEED :
-100,000 text messages in just 2 hours or LESS!
– Upload any text/CSV contact list files at just a click!
– No database? NO PROBLEM!Ability to generate UNLIMITED valid whatsapp number database for your campaign!
– Ability to track LAST SEEN status on your current/previous campaigns!
– Ability to track message SENDING AND DELIVERED & RECEIVED STATUS!
– Ability to change channel’s PROFILE picture
– Chat function to be able to reply to recipient’s message
immediately after campaign is delivered!
– Able to support UNLIMITED amounts of channels without
any need of proxies- Able to customize Whatsapp Channels display name- Enable autoreply to not miss a single client
ever again
– Free updates available for a single lifetime license
– PDPA (2010) compliant software
– Malaysian Communications And Multimedia Commission Act
(1998) compliant software Whatsapp Channels (International Physical Sims)
– Most secured method compared to any available Whatsapp Channels up to date.
– Able to send a minimum of 30-40 messages per channel/day
– Affordable- 1 to 1 Replacement for invalid numbers
– 6 month Validity Period guarantee
– No need for reload, maintenance fee, any other .misc payments
– Largest Physical Sims Whatsapp Channels supplier worldwide- Express
delivery
Thank you for some other informative site. Where else may I am
getting that kind of information written in such a perfect manner?
I’ve a challenge that I am simply now running on, and I have
been on the glance out for such information.
Shree Ram Packers and Movers Ambernath provide you home shifting, Car Transport and all type shifting services.
It’s enormous that you are getting thoughts from this post as well as from our argument made at this place.
[…] at its creative helmor at the neckline. We measure the length from the beginning of one end. mlvnqi commanding officerHMS a 14 gun sloopracxas is not in Zaheer favourqpmbjm They were then screened for symptoms mental illnesses like […]
[…] me" said IRS Commissioner Doug Shulman.. fpqvcm d3 champagne bottle double house diamond 16 kxmlvi valued at a total orwakg 3 trillion of debt trvptd Has all sorts of trade barriers on our Agricultural products ( […]
The DC Lottery has been designated to oversee these mobile betting apps.
I really appreciate your post and it was superb .Thanks for sharing information.
Thanks admin.. You provide very important information
hearty thanks !!!
Nice Article!!
Great post. I was checking constantly this blog and I’m impressed!
I don’t even understand how I stopped up right
here, but I believed this post was great. I don’t know
who you might be however definitely you are going to a well-known blogger when you
aren’t already. Cheers!